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

Support external ExecuteProcess output overrides. #218

Merged
merged 2 commits into from Mar 26, 2019

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Mar 26, 2019

Fixes #214 by means of an $OVERRIDE_LAUNCH_PROCESS_OUTPUT envvar.

Lacking a test to keep this PR simple, we can add one if necessary.

By means of an $OVERRIDE_LAUNCH_PROCESS_OUTPUT envvar.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic requested a review from dirk-thomas March 26, 2019 17:43
@hidmic hidmic added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Mar 26, 2019
on all available options.
:param: output configuration for process output logging. Defaults to 'log'
i.e. log both stdout and stderr to launch main log file and stderr to
the screen. Overridden externally by the $OVERRIDE_LAUNCH_PROCESS_OUTPUT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: a new sentence should start on a newline. Same below.

Same comment about the $ as in ros2/launch_ros#10 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I tend to add the $ to emphasize it's an envvar. FIxed.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic merged commit 452b943 into master Mar 26, 2019
@hidmic hidmic deleted the hidmic/show_all_proc_output branch March 26, 2019 18:57
@hidmic hidmic removed the in review Waiting for review (Kanban column) label Mar 26, 2019
@wjwwood
Copy link
Member

wjwwood commented Mar 26, 2019

In the future, please run CI on changes like this, even if they seem trivial.

@hidmic
Copy link
Contributor Author

hidmic commented Mar 26, 2019

My bad! Did it fail on master?

@wjwwood
Copy link
Member

wjwwood commented Mar 26, 2019

No, just try not to do so, in case it does. If it just touches comments, that's fine, if it touches only docs and you run tests locally that's ok too, but in a case like there where you touch Python code, definitely always run the CI, even if you think the code isn't covered by any tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants