Skip to content

Better support for dev #115

@badouralix

Description

@badouralix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions