Ok ..... so I have to start a program which is written in java. #!/local/bin/perl
my $command = "/aa/bb/c/executable \&"; my $ret = 0; $ret = `$command`; exit $ret; The normal behavior of this executable is to list some information but it never returns you to a prompt. You have to hit the return key to get the shell prompt back. The same thing is happening to this program. Is there a way in perl to pass a return "\n" on the command to be executed that would return a prompt to the program so it does not hang? I have tried the following: "/aa/bb/c/executable \& \; echo 100"; The shell doesn't like " \; echo 100" at all. Any help would be greatly appreciated. I have several programs to start ... all are currently hanging. Bill -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/