after exec1.sub with args: 0
after exec1.sub without args: 0
-./execscript: line 20: notthere: command not found
+after exec1.sub: one two three
+./execscript: line 21: notthere: command not found
127
/tmp/bash: notthere: No such file or directory
127
/bin/sh: /bin/sh: cannot execute binary file
126
-./execscript: line 39: /: Is a directory
+./execscript: line 40: /: Is a directory
126
/: /: is a directory
126
-./execscript: line 46: .: /: is a directory
+./execscript: line 47: .: /: is a directory
1
126
0
this is bashenv
./exec3.sub: line 3: /tmp/bash-notthere: No such file or directory
127
-./execscript: line 70: notthere: No such file or directory
+./execscript: line 71: notthere: No such file or directory
127
-./execscript: line 73: notthere: No such file or directory
+./execscript: line 74: notthere: No such file or directory
127
-./execscript: line 76: notthere: command not found
+./execscript: line 77: notthere: command not found
127
this is sh
this is sh