in reply to Re: system & exec
in thread system & exec

No reason to invoke two shells. Fixed:

system 'bash', '-c', 'source yourscript.sh'