bash - How do you source a shell script with dart.io in the current process? -


process.run (and variants) complain using '.' , 'source' commands. there built-in way run methods or there particular executable can try calling mimic bash's source command?

all these commands have runinshell argument. if doesn't fix use shell -c ". xxx"

if process.run('. somescript.sh, runinshell: true); , process.run('someexecutable'); gained nothing because when first call ends created environment dies it. assume want

process.run('. somescript.sh && someexecutable', runinshell: true); 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -