Thanks os.popen is working for me!
From: Curt Hagenlocher [mailto:[email protected]]
Sent: Wednesday, December 19, 2012 7:32 AM
To: Jackie Sproat
Cc: [email protected]
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
Arg, bitten again by "
m:* Curt Hagenlocher [mailto:[email protected]]
> *Sent:* Tuesday, December 18, 2012 4:03 PM
> *To:* Jackie Sproat
> *Subject:* Re: [Ironpython-users] Using System.Diagnostics.Process
> results in Errno 22
>
> ** **
>
> I believe StartInfo.FileName really needs
, 2012 4:23 PM
To: Jackie Sproat
Cc: [email protected]
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
On Tue, Dec 18, 2012 at 1:54 PM, Jackie Sproat
wrote:
> However, using this with IronPython, results in Errno 22: The system cannot
> find th
:03 PM
To: Jackie Sproat
Subject: Re: [Ironpython-users] Using System.Diagnostics.Process results in
Errno 22
I believe StartInfo.FileName really needs to be a file name, and not a command
line. Set it to java.exe and put everything else into Arguments.
On Tue, Dec 18, 2012 at 1:54 PM, Jackie
On Tue, Dec 18, 2012 at 1:54 PM, Jackie Sproat
wrote:
> However, using this with IronPython, results in Errno 22: The system cannot
> find the file specified...
>
> file_name = 'java -jar "C:\Program Files\Sikuli X\sikuli-script.jar" '
My guess is the backslashes are causing problems. You ha
Using python I have no problem starting my process with subprocess.Popen('java
-jar "C:\Program Files (x86)\Sikuli X\sikuli-script.jar" ' + finalname,
shell=True)
But, because the select module is not available, you can't use the subprocess
module in IronPython.
So, I have to use System.Diagno