Re: Bash crashes on `exec -c'

2015-09-15 Thread Chet Ramey
On 9/15/15 6:31 AM, ziyunfei wrote: > $ echo $BASH_VERSION > 4.2.45(2)-release > $ echo :>test > $ chmod +x test > $ exec -c ./test > [1]15650 segmentation fault bash Thanks for the report. This bug has existed for at least 20 years. It will be fixed in the next release of bash. Chet -- `

Bash crashes on `exec -c'

2015-09-15 Thread ziyunfei
$ echo $BASH_VERSION 4.2.45(2)-release $ echo :>test $ chmod +x test $ exec -c ./test [1]15650 segmentation fault bash