Schmorpforge Software Repository

Proc-FastSpawn

Piratenpartei
Deliantra Free MMORPG
The free as in beer, liberal, code & content retro-style graphical MMORPG :)

Proc-FastSpawn

fork+exec, or spawn, a subprocess as quickly as possible

Blurb

The purpose of this small (in scope and footprint) module is simple: spawn a subprocess asynchronously as efficiently and/or fast as possible. Basically the same as calling fork+exec (on POSIX), but hopefully faster than those two syscalls. Apart from fork overhead, this module also allows you to fork+exec programs when otherwise you couldn't - for example, when you use POSIX threads in your perl process then it generally isn't safe to call fork from perl, but it is safe to use this module to execute external processes.

Resources

CVSBrowsable CVS module 'Proc-FastSpawn'
CVSAnonymous CVS:  cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co Proc-FastSpawn
CPANFile Releases (CPAN)
IRCServer irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours)

Additional Documents

PODMain Manual Page
FILEChanges