How can I get the command output even its exit code is not 0? #39
0x7FFFFFFFFFFFFFFF
started this conversation in
General
Replies: 1 comment 3 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a command
pslist -nobanner non-existent-process
. When I run it on the command line directly, I got this:As you can see, it outputs some text and have 1 as its exit code. When I run the same command with
run_fun!
:I got this error:
How can I get the command output even its exit code is not 0? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions