--- Quote Start ---
The shell where 'exec' gets invoked is probably different.
I'm not sure how to force the correct shell. I also had a similar issue in Modelsim, but never had time to look at it further.
It might be that you need wrap all 'exec' targets in a bash shell with# !/bin/bash at the beginning, to force the use of the correct shell.
However, as I commented, I have not looked into this problem ... but perhaps this comment will help you find the solution.
Cheers,
Dave
--- Quote End ---
Neither
exec bash ./myscript nor
exec sh ./myscript gets a good response
myscript has a# !/bin/bash header
(In the working system-console, either syntax is successful)