ok ..... trying this again.

Seems my first post did not take so I will try again.

I need to start a java program.  So in perl, I have created a command
like:

my $command = "executable \&";
my $ret = `$command`;
exit $ret;

This program does not return but rather hangs.  If I try this in linux
from the command line, it gives me some data, but also does not return
to the command line prompt.  I have to hit a return in order to get
the prompt.

Is there a way in perl to simulate this return key entry so that the
program will return?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to