[PD] old process still running
marc at hacklava.net
Mon Nov 14 21:41:20 CET 2005
Le 14 Novembre 2005 12:48, IOhannes m zmoelnig a écrit :
> Marc Lavallée wrote:
> >>I think it *is* better to use the & operator of the shell when using
> > I don't think so.
> > & sends the curl process in the background.
> > You don't want that.
> but why not ?
> you could poll the filename for existance (somehow), to see when the
> file is finally downloaded.
> of course this will only work for applications that do not have any
> direct feedback.
Because there's no output when appending "&" after a command.
To collect the output of a background process, "expect" seems more
appropriate than bash (http://expect.nist.gov/)
More information about the Pd-list