Description
Add a new command to run a wip-solution in debug mode.
Design
The new command would look like:
$ ./aoc debug -d9 -p2 -abadouralix -r
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running submissions for day 09:
* part 2:
---------------------------------------------------
On input from badouralix
---------------------------------------------------
<stdout of badouralix solution on badouralix input>
...
The idea is to prevent python main process to read a subprocess stdout, and let the shell print the subprocess stdout. The runner would not use the flag stdout=PIPE as it currently does:
https://github.com/badouralix/advent-of-code-2018/blob/badcaacc13cb732726dc8a9309e7487f63572a15/tool/runners/go.py#L35
Description
Add a new command to run a wip-solution in debug mode.
Design
The new command would look like:
The idea is to prevent python main process to read a subprocess stdout, and let the shell print the subprocess stdout. The runner would not use the flag
stdout=PIPEas it currently does:https://github.com/badouralix/advent-of-code-2018/blob/badcaacc13cb732726dc8a9309e7487f63572a15/tool/runners/go.py#L35