M
Murugesh
Hi all,
when system() is invoked, is there any way to direct the output into
a file.
Thanks
when system() is invoked, is there any way to direct the output into
a file.
Thanks
Murugesh said:when system() is invoked, is there any way to direct the output into
a file.
In doc, it is said that we can get the exit status of the command.MyGunnar said:May I suggest that you read the documentation for system() instead of
asking hundreds of programmers to read it for you.
perldoc -f system
Murugesh said:In doc, it is said that we can get the exit status of the command.
My question is different.
Murugesh said:when system() is invoked, is there any way to direct the output into
a file.
Hi all,
when system() is invoked, is there any way to direct the output into
a file.
Murugesh said:Hi all,
when system() is invoked, is there any way to direct the output into
a file.
Tad said:Yes, just you would in the shell.
system "ls -l >redirected.file";
Yes!! I never thought that way! Thanks.
Haven't you already tried that?
Murugesh said:when system() is invoked, is there any way to direct the output into
a file.
Murugesh said:In doc, it is said that we can get the exit status of the command.My
question is different.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.