Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support for dev #115

Open
badouralix opened this issue Dec 9, 2018 · 0 comments
Open

Better support for dev #115

badouralix opened this issue Dec 9, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@badouralix
Copy link
Owner

badouralix commented Dec 9, 2018

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

@badouralix badouralix added the enhancement New feature or request label Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant