#!/usr/bin/perl -w
use strict;
use Proc::Spawn;
my ($pid, $IN, $OUT, $ERROR) = spawn(\@ARGV);
#fix by uncommenting this
#while( <$ERROR>){};
# either of these hang
my $junk = eof($OUT);
#while (<$OUT>){};
####
#!/usr/bin/perl -w
use strict;
warn "x" x shift(@ARGV) . "\n";
####
[msouth@jinx GUI-APP bin]$ ./runner.pl ./user.pl 4095
####
[msouth@jinx GUI-APP bin]$ ./runner.pl ./user.pl 4096