in reply to Re^4: How to stop printing the output of a command on screen when the command fails?
in thread How to stop printing the output of a command on screen when the command fails?

it fails is rather unspecific, but I'm guessing you mean that the error message is still displayed on the screen.

So, what is the difference betweeen "command prompt" and using back-ticks? The most obvious is the shell you are using for "command prompt". I can't find in your posts which operating system you are using. The path style is UNIX-like, yet the use of NUL: is Windows (on UNIX/Linux you would use /dev/null).

I just tried a simple version of your command on Windows and Linux and it worked as I would expect - no output was displayed on either. It was not using p4 though.
  • Comment on Re^5: How to stop printing the output of a command on screen when the command fails?