hammer
hammer copied to clipboard
Hang if subprocess spawns dependent subprocess
In this scenario, Hammer will hang:
- Hammer spawns a subprocess running a tool (e.g. a fill deck)
- The tool's script spawns some other process that waits for the tool to finish before running (e.g. merging fill with input database, like #287)
- As a result, there is a bidirectional wait dependency and so the tool never exits.
It appears the subprocess module can't support this scenario? At the moment, these kinds of scripts need to be run outside of Hammer.
Possibly related: when VCS runs the compiled simulator, that output is not captured by the Hammer logs either.