Skip to content
Discussion options

You must be logged in to vote

Just appending ||: to a bash command will make the exit code zero, as shown below.

"command": "/public/home/tzhu/g16/g16 < input || :"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paseri3739
Comment options

Answer selected by paseri3739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants