Stevewr
10-12-2007, 05:13 PM
Running on Unix...
When I run my Perl script in the background, or when I switch it from the foreground to the background, it seems to freeze (or maybe endlessly loop) on the following line in the code:
@lines = `more test.log`;
I have to go and kill the script.
Can anyone please tell me what is going on and how to fix it? It works fine when I run the program in the foreground.
If you need anymore information for me about the script, please let me know.
Thanks.
Steve.
When I run my Perl script in the background, or when I switch it from the foreground to the background, it seems to freeze (or maybe endlessly loop) on the following line in the code:
@lines = `more test.log`;
I have to go and kill the script.
Can anyone please tell me what is going on and how to fix it? It works fine when I run the program in the foreground.
If you need anymore information for me about the script, please let me know.
Thanks.
Steve.