domcyrus has asked for the wisdom of the Perl Monks concerning the following question:
pseudo code #!/usr/local/bin/perl @args = ("ssh", "unaccesible_client", "&"); #bring process in backgrou +nd as we want to continue... #do some stuff $time=start_time(); #after some time get status while ($time > 1000us) { $status=get_status(); if ($status!=running) { $time=1000; } } ... ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: process handling
by ptum (Priest) on Nov 06, 2006 at 17:38 UTC | |
|
Re: process handling
by wjw (Priest) on Nov 06, 2006 at 17:41 UTC | |
|
Re: process handling
by shmem (Chancellor) on Nov 06, 2006 at 19:17 UTC | |
|
Re: process handling
by domcyrus (Acolyte) on Nov 07, 2006 at 09:49 UTC |