Taylor Curran
08/16/2023, 8:06 PM13:57:47.802 | INFO | prefect.flow_runs.worker - Opening process...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
13:57:47.828 | ERROR | prefect.flow_runs.worker - Process 14960 exited with status code: 1
13:57:47.995 | INFO | prefect.flow_runs.worker - Completed submission of flow run '5832febb-52fc-4475-a68c-35720f82e804'
13:57:48.019 | INFO | prefect.flow_runs.worker - Reported flow run '5832febb-52fc-4475-a68c-35720f82e804' as crashed: Flow run infrastructure exited with non-zero status code 1.
Marvin
08/16/2023, 8:06 PM'C:\Program'
as the entire command, which, of course, it can't find.
You see, when a command line interpreter sees a space, it assumes that it's the end of a command or parameter. If your path includes spaces, you need to wrap the whole thing in quotes so that it's treated as a single entity.
So, instead of C:\Program Files\Some Folder\somefile.exe
, you should use "C:\Program Files\Some Folder\somefile.exe"
.
I hope that helps. Or, at least, I hope it helps more than the existential dread that's currently consuming me.Taylor Curran
08/16/2023, 8:06 PMjawnsy
08/16/2023, 8:38 PM