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 |
3 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions