Open jpata opened 8 years ago
@gkasieczka, can you describe the issue you ran into with calling grid-control directly via python? I can't think of why Popen
should work while direct calling does not.
I want to run grid-control in -Gc mode when calling. This way it gives control back to main program when done processing.
If I chain two grid-controls then the second one creates the correct jobs but immediately returns control to main.
On Tue, Aug 16, 2016 at 6:27 PM, Joosep Pata notifications@github.com wrote:
@gkasieczka https://github.com/gkasieczka, can you describe the issue you ran into with calling grid-control directly via python? I can't think of why Popen should work while direct calling does not.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jpata/tthbb13/issues/119#issuecomment-240157479, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnXV95uG4Nxm188qOwP-6sML4Qdao0wks5qgeUGgaJpZM4JiD5R .
ah, I see. I think the loop of -c
is really quite a simple thing in the gc code (few lines), which could easily be done as well in the master workflow script.
@gkasieczka see this example on how to call gc directly without
Popen
and thus needing to parse stdout etc.