source: vendor/bash/3.1-p17/tests/exec5.sub

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 252 bytes
Line 
1# try exec'ing a command that cannot be found in $PATH
2shopt -s execfail
3
4exec bash-notthere
5# make sure we're still around
6echo $?
7
8# now we need to go away, but this should echo 'this is ohio-state'
9exec -a ohio-state ${THIS_SH} -c 'echo this is $0'
Note: See TracBrowser for help on using the repository browser.