Hi,
I have a server program running that waits for files arrive and that program needs to be invoke from the web browser.
That waiting time might be up to couple hours, so I have my code as follow,
...
`perl -w wait.pl &`
...
which I think it will run (since I put a & there) but it turns out that is not the case, I think the program terminates as soon as I close the web-browser. (I have no way to check the process status of web-initial process).
Anything I did wrong or I did not aware of? Thanks.
I have a server program running that waits for files arrive and that program needs to be invoke from the web browser.
That waiting time might be up to couple hours, so I have my code as follow,
...
`perl -w wait.pl &`
...
which I think it will run (since I put a & there) but it turns out that is not the case, I think the program terminates as soon as I close the web-browser. (I have no way to check the process status of web-initial process).
Anything I did wrong or I did not aware of? Thanks.