rsh shell command hangs and does not return

2009-02-07 Thread Ice Man
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 ret

java hangs from perl

2009-02-07 Thread Ice Man
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 fr

Re: rsh shell command hangs and does not return

2009-02-08 Thread Ice Man
On Feb 7, 7:17 am, chas.ow...@gmail.com (Chas. Owens) wrote: > On Fri, Feb 6, 2009 at 14:31, Ice Man wrote: > > Ok . so I have to start a program which is written in java. > > > #!/local/bin/perl > > > my $command = "/aa/bb/c/executable \&"

Re: rsh shell command hangs and does not return

2009-02-10 Thread Ice Man
On Feb 7, 9:40 am, wjharris...@optonline.net (Ice Man) wrote: > On Feb 7, 7:17 am, chas.ow...@gmail.com (Chas. Owens) wrote: > > > > > On Fri, Feb 6, 2009 at 14:31, Ice Man wrote: > > > Ok . so I have to start a program which is written in java. > > > >