11-12-2018, 03:07 PM
(11-12-2018, 02:43 PM)Ofnuts Wrote: Possibly a matter of path. What do you get with:
Your current directory is another possible difference.Code:
call(["C:/Users/audov/AppData/Local/Programs/Python/Python36/python.exe", "-c","import sys;print(sys.path);"])
Thank you for your swift reply. That did return an exit code of 0 but it was too fast for me to see anything so I added a timer.
Code:
subprocess.call(["C:/Users/audov/AppData/Local/Programs/Python/Python36/python.exe", "-c","import sys;print(sys.path);import time; time.sleep(20);"])
Code:
['', 'C:\\Program Files\\GIMP 2\\32\\lib\\gimp\\2.0\\python',
'C:\\Program Files\\GIMP 2\\lib\\gimp\\2.0\\plug-ins\\python-console',
'C:\\Users\\audov\\AppData\\Local\\Programs\\Python\\Python36\\python36.zip',
'C:\\Users\\audov\\AppData\\Local\\Programs\\Python\\Python36\\DLLs',
'C:\\Users\\audov\\AppData\\Local\\Programs\\Python\\Python36\\lib',
'C:\\Users\\audov\\AppData\\Local\\Programs\\Python\\Python36',
'C:\\Users\\audov\\AppData\\Roaming\\Python\\Python36\\site-packages',
'C:\\Users\\audov\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages']
(I added the line breaks for visual clarity.)
I don't know yet if this will lead to the answer but I hope this way I can at least see more meaningful error codes.