Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-09-01 Thread Larry Martell
On Wed, Aug 31, 2016 at 4:34 AM, Viktor Engelmann wrote: > > > > Am 31.08.2016 um 10:28 schrieb Viktor Engelmann: > > > > Am 31.08.2016 um 02:02 schrieb Kyle Altendorf: > > On August 30, 2016 7:44:14 PM EDT, Kyle Altendorf wrote: > > On August 30, 2016 4:28:25 PM EDT, Larry Martell > wrote: > >

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-09-01 Thread Murphy, Sean
> No parameters are being passed to QProcess. Its start method is being > called with: > > ("/usr/bin/python2.7", "myscript.py") > > The path of the file being opened is hard coded in the python script. Are you running the Qt application from the command line, or inside a QtCreator session? Is

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-09-01 Thread Roland Hughes
Just an FYI, attachments get scrubbed for those receiving this list in summary/digest form. We only need a 5 line main.cpp which launches the QProcess() of a short "hello world" type script that exhibits the problem. I have run into the exact same thing before. Deep in the QProcess documentati

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-31 Thread Viktor Engelmann
Am 31.08.2016 um 10:28 schrieb Viktor Engelmann: > > > > Am 31.08.2016 um 02:02 schrieb Kyle Altendorf: >> On August 30, 2016 7:44:14 PM EDT, Kyle Altendorf wrote: >>> On August 30, 2016 4:28:25 PM EDT, Larry Martell >>> wrote: I am invoking a python script with QProcess. I have found that

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-31 Thread Viktor Engelmann
Am 31.08.2016 um 02:02 schrieb Kyle Altendorf: > > On August 30, 2016 7:44:14 PM EDT, Kyle Altendorf wrote: >> >> On August 30, 2016 4:28:25 PM EDT, Larry Martell >> wrote: >>> I am invoking a python script with QProcess. I have found that if the >>> script tries to open a file that has spaces

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Kyle Altendorf
On August 30, 2016 7:44:14 PM EDT, Kyle Altendorf wrote: > > >On August 30, 2016 4:28:25 PM EDT, Larry Martell > wrote: >>I am invoking a python script with QProcess. I have found that if the >>script tries to open a file that has spaces in the path, no error is >>thrown, but the file always app

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Roland Hughes
Please provide the entire QProcess() call. On 08/30/2016 06:53 PM, Larry Martell wrote: On Tue, Aug 30, 2016 at 7:38 PM, Roland Hughes wrote: I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:38 PM, Roland Hughes wrote: >>> > > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file always appears to have 0 length. The same script > with the same file wi

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Thiago Macieira
Em terça-feira, 30 de agosto de 2016, às 19:30:35 PDT, Larry Martell escreveu: > On Tue, Aug 30, 2016 at 7:08 PM, Thiago Macieira > > wrote: > > Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: > >> I am invoking a python script with QProcess. I have found that if t

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Kyle Altendorf
On August 30, 2016 4:28:25 PM EDT, Larry Martell wrote: >I am invoking a python script with QProcess. I have found that if the >script tries to open a file that has spaces in the path, no error is >thrown, but the file always appears to have 0 length. The same script >with the same file with sp

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Roland Hughes
>> I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but the file always appears to have 0 length. The same script with the same file with spaces in the path invoked from the command line works fine.

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:08 PM, Thiago Macieira wrote: > Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: >> I am invoking a python script with QProcess. I have found that if the >> script tries to open a file that has spaces in the path, no error is >> thrown, but t

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Thiago Macieira
Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file always appears to have 0 length. The same script > wit

[Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but the file always appears to have 0 length. The same script with the same file with spaces in the path invoked from the command line works fine. Note