in reply to Re: system & execin thread system & exec
No reason to invoke two shells. Fixed:
system 'bash', '-c', 'source yourscript.sh' [download]