|
Good. Thanks. Here's my code. ========== # Executing a Linux program under Win XP from subprocess import call myProg = call(["C:\Sandia_Meteors\Various\FuzzyLogic\wolf", "-h"]) ========== But msgs are produced ... Traceback (most recent call last): File "C:/Sandia_Meteors/Sentinel_Development/Development_Sentuser-Utilities/sentuser/fun-subprocess_Linux.py", line 4, in <module> myProg = call(["C:\Sandia_Meteors\Various\FuzzyLogic\wolf", "-h"]) File "C:\Python25\lib\subprocess.py", line 444, in call return Popen(*popenargs, **kwargs).wait() File "C:\Python25\lib\subprocess.py", line 594, in __init__ errread, errwrite) File "C:\Python25\lib\subprocess.py", line 816, in _execute_child startupinfo) WindowsError: [Error 5] Access is denied I looked for the attributes on the file and it shows "A". I'm the admin on my XP Pro, and the file is owned by Admin. wolf is a 1 meg file. Alan Gauld wrote:
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
“Life is one damn thing after another."
-- Mark Twain
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
