Open petervanvogelpoel-filmbooking opened 3 weeks ago
Hi @petervanvogelpoel-filmbooking,
Not familiar with the Console app code you are sharing but my guess would be to remove the part redirecting the command output to a file (> ...json) and instead use your process object to query the command output and write it to a file if you need to.
Hi Remia, Thanks for getting back on this. In the meantime I did exactly what you are suggesting and that worked. Thanks again.
Glad to hear that!
Hi,
When I run the following manually on Linux I have no problem:
python3 -m clairmeta.cli probe -type dcp /media/dcpstorage/f069c7d8-1e5e-4e73-8558-08dcf50b3609/MY_DCP_VF -format json > /media/dcpstorage/f069c7d8-1e5e-4e73-8558-08dcf50b3609/probe.json
When I try the same in my console app I get an error. My code:
The error is:
usage: cli.py [-h] {check,probe} ... cli.py: error: unrecognized arguments: > /media/dcpstorage/f069c7d8-1e5e-4e73-8558-08dcf50b3609/probe.json
Can somebody help?