Thread: Popen compatibility Linux and Windows
i use subprocess.popen load program prog1 linux
subprocess import popen
...
popen('',executable='./prog1')
trying under windows, find not work
neither popen('',executable='c:\\progdir\\prog1')
or popen('',executable='c:\\python27\\python.exe c:\\progdir\\prog1.py')
rationale using popen handle platform dependancies me. suggestions or pointers useful information in area
rgds bill
the following works
popen('c:\python27\python.exe prog1');
python scripts must have .py extention load explorer panel. dont expect change.
popen not automatically load python run python script. feel automated.. hell expects perfection on windows
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Popen compatibility Linux and Windows
Ubuntu
Comments
Post a Comment