in reply to Re^2: Executing a program, displaying some status, and killing it
in thread Executing a program, displaying some status, and killing it

Both versions work, but not the way I want... the status output (print ".") appears only after the background-program has been killed, which makes it pretty useless...
  • Comment on Re^3: Executing a program, displaying some status, and killing it

Replies are listed 'Best First'.
Re^4: Executing a program, displaying some status, and killing it
by revdiablo (Prior) on Dec 13, 2004 at 17:53 UTC
    the status output (print ".") appears only after the background-program has been killed

    That's probably a buffering problem. The short answer is to set $|, the long answer is to read Suffering from Buffering.