0

I am executing the following Perl command:

system ("cvs ci a.txt"); 

and it is displaying the CVS message. How to avoid this?

1 Answer 1

9

If you're going to be running system commands like this in a unix environment, the obvious thing works.

system("cvs ci a.txt > /dev/null");

You might want to consider something like IPC::Run3, too, to allow you to gather the output from stdout and stderr to use as you see fit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.