188 posts
Location
Germany
Posted 04 August 2016 - 02:31 PM
If I call a Programm with os.run, the function shelk.resolve dont exists. What can I do to fix this?
8543 posts
Posted 04 August 2016 - 03:59 PM
If you're calling os.run in a place where you could call shell.run, you can either call shell.run instead, or pass an environment table containing the following instead of an empty table as the first argument:
{shell = shell, multishell = multishell}
If you're calling os.run in a place where shell.run is inaccessible, you cannot easily and
should not attempt to find a shell instance from another environment and expose it to the program.