J
Jerome Hauss
------=_NextPart_000_017A_01C3DA07.A93CB4A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to launch a host command to windows, the command is =
something like
"rsh myaixmachine -l myuser \"export PATH=3D/pvcsbindir:$PATH; vlog =
mypvcsarchive > tomyfile; echo\""
I would like to get the standard output for this command. But it does =
not work properly : I need to do <ENTER> in my Windows console window, =
and if I launch several such commands, it happens I am really stuck.
It works with simple commands to Windows. And it works also when I try =
some prepared command with `mycommand`
An idea to this problem ?
Regards,
J=E9r=F4me Hauss
PS. One of my simple tries
def rsh(myaixmachine, command)
@t =3D nil
s =3D "rsh " + myaixmachine + " -l myuser \"#{ command }\""
puts s
@pipe =3D IO.popen(s)
@t =3D @pipe.read
@pipe.close
@t
end
------=_NextPart_000_017A_01C3DA07.A93CB4A0--
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to launch a host command to windows, the command is =
something like
"rsh myaixmachine -l myuser \"export PATH=3D/pvcsbindir:$PATH; vlog =
mypvcsarchive > tomyfile; echo\""
I would like to get the standard output for this command. But it does =
not work properly : I need to do <ENTER> in my Windows console window, =
and if I launch several such commands, it happens I am really stuck.
It works with simple commands to Windows. And it works also when I try =
some prepared command with `mycommand`
An idea to this problem ?
Regards,
J=E9r=F4me Hauss
PS. One of my simple tries
def rsh(myaixmachine, command)
@t =3D nil
s =3D "rsh " + myaixmachine + " -l myuser \"#{ command }\""
puts s
@pipe =3D IO.popen(s)
@t =3D @pipe.read
@pipe.close
@t
end
------=_NextPart_000_017A_01C3DA07.A93CB4A0--