query: Can I get the exit code from a sub shell launched with $(command)?
positive_passages.docid: 25999
positive_passages.text: How is the return status of a variable assignment determined?
negative_passages.docid: 88497
negative_passages.text: How can I get bash to exit on backtick failure in a similar way to pipefail?
negative_passages.docid: 96052
negative_passages.text: How can I detect if I'm in a subshell?
negative_passages.docid: 26048
negative_passages.text: How do I know the script file name in a Bash script?
negative_passages.docid: 125468
negative_passages.text: Why does bash show 'Terminated' after killing a process?
negative_passages.docid: 2583
negative_passages.text: Quoting within $(command substitution) in Bash
negative_passages.docid: 6958
negative_passages.text: How can I check if a program exists from a Bash script?
negative_passages.docid: 102224
negative_passages.text: Does variable=$(...) store the command or the result of the command in POSIX sh
negative_passages.docid: 130655
negative_passages.text: What is the name of the command (function) that runs after a command has failed?
negative_passages.docid: 37287
negative_passages.text: How to get the return value of a program ran via calling a member of the exec family of functions?
negative_passages.docid: 54838
negative_passages.text: determine shell in script during runtime
negative_passages.docid: 20125
negative_passages.text: How do I syntax check a Bash script without running it?
negative_passages.docid: 58488
negative_passages.text: Aborting a shell script if any command returns a non-zero value
negative_passages.docid: 59353
negative_passages.text: How to tell if a command executed by `exec` runs successfully or not?
negative_passages.docid: 60587
negative_passages.text: Are there any standard exit status codes in Linux?
negative_passages.docid: 137423
negative_passages.text: Rule for invoking subshell in Bash?
negative_passages.docid: 74090
negative_passages.text: $_ vs !$. Last argument of the preceding command and output redirection