On 27-Oct-06, at 2:25 AM, Leo Kislov wrote: > > Ivan Vinogradov wrote: >> ... >> >> call("core/main") works but uses .. of core for input/output. >> >> call("core/main",cwd="core") and call("main",cwd="core") both >> result in > [snip exception] > > Usually current directory is not in the PATH on UNIX. Try > call("./main",cwd="core") > > -- Leo
Thank you both Leo and Steven. The solution was indeed calling "main" as "./main" once cwd was changed. -- Cheers, Ivan. -- http://mail.python.org/mailman/listinfo/python-list