remove empty elements from a_line + print the good number of seconds the process is running