Hi,
You may try to redirect your output in your command line string;
call/shell "test.exe >c:\test.txt" ;does not work without /shell


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Thorsten Moeller
> Sent: Wednesday, September 09, 2009 11:55 AM
> To: Rebol Mailinglist
> Subject: [REBOL] Problem with call function
>=20
>=20
> Hi,
>=20
> i am getting al little crazy at this moment. I have a small script
> which
> should collect some performance data from a Linux box via plink
> commandline call on a Windows box.
>=20
> This is the line of code: call/output/wait {plink adw...@p-ng-db2ux1-b
> -pw 10hwda -m LinMon.cmd} %myout.txt
>=20
> So if i modify this to see the output on the console like this:
>=20
> call/console/wait {plink adw...@p-ng-db2ux1-b -pw 10hwda -m
LinMon.cmd}
>=20
> everything runs fine. But i need this to be written into a file for
> later analysis. This what is not working here. I tried some more
somple
> command like a dir, This works with /output option.
>=20
> So, i guess it depends on the plink command. Perhaps cannot find the
> output parameter behind it??
>=20
> Instead of writing it to a file i tried to write it to a Rebol String
> which fails as well.
>=20
> Hope there is anyone who can help me out of this misery.
>=20
> Thorsten
>=20
>=20
> --
> http://www.fastmail.fm - Send your email first class
>=20
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to