system("myCommand > myFile");
must work

-----Original Message-----
From: Ivan Novick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 1:11 PM
To: [EMAIL PROTECTED]
Subject: redirecting the output of a command to a file


Hi,

does anyone know syntax to run a command and redirect its output directly to
a file?

Equivalent to myCommand > myFile in shell

Thanks,

Ivan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to