[REBOL] Problem with call function
From: tmoeller:fastmail:fm at: 9-Sep-2009 10:55
Hi,
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.
This is the line of code: call/output/wait {plink adwh01-p-ng-db2ux1-b
-pw 10hwda -m LinMon.cmd} %myout.txt
So if i modify this to see the output on the console like this:
call/console/wait {plink adwh01-p-ng-db2ux1-b -pw 10hwda -m LinMon.cmd}
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.
So, i guess it depends on the plink command. Perhaps cannot find the
output parameter behind it??
Instead of writing it to a file i tried to write it to a Rebol String
which fails as well.
Hope there is anyone who can help me out of this misery.
Thorsten
--
http://www.fastmail.fm - Send your email first class