4 ms·
$! is not working with the distributed Bash version (currently 3.2) on OS X. $ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
by fensipens 12y ago
$! is not working with the distributed Bash version (currently 3.2) on OS X.
$ bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.
$ : & echo $!
[1] 329
329
- pstadler 12y ago$BASHPID is not working with subshells prior to Bash v4.