Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to spawn a process in background within Perl+GUI script

by chibiryuu (Beadle)
on Apr 13, 2006 at 20:35 UTC ( #543217=note: print w/replies, xml ) Need Help??


in reply to How to spawn a process in background within Perl+GUI script

This should suit your needs as far as I can tell, from the little that you've written.
defined ($pid = fork) or die "couldn't fork: $!"; $pid or exec 'gsview', ...
wait $pid; # == $pobj->Wait kill TSTP => $pid; # == $pobj->Suspend kill CONT => $pid; # == $pobj->Resume

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://543217]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-05-24 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?