Mike B. worte:
> Try this:
> set the shellcommand to "/bin/bash"
> get shell("source ~/.bash_profile ; <yourcommands here> ")You are right, of course. For one's own machine this is the simplest. One could even vice versa write a full (temporary) shell-profile before using shell. But if you wish to know if a user has installed a 'default' binary you wish to use at the 'default' place or elsewhere, then this could fail. I am for example nearly always working as root (that's the only way to avoid silly errors) but never would allow others to use my root shell. > Is there any way to get lc to process .bash_profile by default? Why not set $PATH or $PATH-additions in the preferences? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Running-Node-or-any-unix-cmd-line-program-from-Shell-from-a-LC-Stack-tp4704464p4704490.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
