Thanks much.  What about the nohup stuff?  Do I need to nohup the script?

Neema Salimi
[EMAIL PROTECTED]

>===== Original Message From [EMAIL PROTECTED] =====
>On Jul 11, saliminl said:
>
>>added print statements before and after the system command to monitor
>>progress, but they were not printed until the very end (i.e. 4 runs of
>
>That's because you didn't print any newlines, and output to STDOUT is
>newline-buffered.
>
>Add
>
>  $| = 1;
>
>before your loop, to turn off buffering (or rather, to turn ON
>auto-flushing of the buffers).
>
>>for ($loop = 0; $loop < $opt_m; $loop++) {
>> @sander_input = ("nice", "-20", "nohup", "sander", "-O" etc.); # lots of
>>flags here
>> $job = $loop + 1;
>> print "starting job $job";
>> system(@sander_input);
>> print "finished job $job";
>>}
>
>--
>Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
>I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
>Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
>Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
>Acacia Fraternity, Rensselaer Chapter.         Brother #734
>**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to