Yes it does.
For a single file, no wildcard, when I use start() I get the following output to the console (there are multiple calls to this section of code):
roetgen 102% something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
roetgen 102% something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
To copy to clipboard, switch view to plain text mode
With startDetached(), I get this:
roetgen 104% something
something
something
something
something
Tsomething
There were 0 error(s)
There were 0 error(s)
here were 0 error(s)
There were 0 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/dicom-0000-muehlboeck_sebastien_20051126.085338_1_1.dcm
There were 1 error(s)
There were 0 error(s)
roetgen 104% something
something
something
something
something
Tsomething
There were 0 error(s)
There were 0 error(s)
here were 0 error(s)
There were 0 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/dicom-0000-muehlboeck_sebastien_20051126.085338_1_1.dcm
There were 1 error(s)
There were 0 error(s)
To copy to clipboard, switch view to plain text mode
A race condition is expected since repeated calls are happening on the same file.
I suspect that Bojan may be on to something with the wildcards. If I insert the wildcard back and repeat the same experiment above, I get first (start()):
roetgen 111% something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
something
QProcess object destroyed
while process is still running.
roetgen 111% something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
something
QProcess object destroyed while process is still running.
To copy to clipboard, switch view to plain text mode
...and then for startDetached(), I get:
roetgen 108% something
something
something
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
something
something
something
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
roetgen 108% something
something
something
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
something
something
something
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
error: unable to load file /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*
There were 1 error(s)
To copy to clipboard, switch view to plain text mode
The solution here has much to do with the way the operating systems deal with external processes and how they process wildcards as parameters. Does this sound reasonable?
JS
Bookmarks