By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

how to capture the output produced from a program using perl script

P: 4
sir,

i've written a program which will pass input to an exe file using system command and now i'm in need to capture the output produced by the .exe file for that input . the output should be stored in an sepreate file. please reply me soon....

thank you in advance..
Jan 19 '08 #1
Share this Question
Share on Google+
1 Reply


numberwhun
Expert Mod 2.5K+
P: 3,503
sir,

i've written a program which will pass input to an exe file using system command and now i'm in need to capture the output produced by the .exe file for that input . the output should be stored in an sepreate file. please reply me soon....

thank you in advance..
Are you on a Unix or Windows system? Either way, in the system command, you should be able to redirect the output as part of the command itself that you are issuing.

Regards,

Jeff
Jan 19 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.