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 stream inheritance for the forked process, fixes #71 #72

Closed
wants to merge 2 commits into from

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jan 5, 2017

No description provided.

@gnodet
Copy link
Contributor Author

gnodet commented Jan 30, 2017

@olamy Could you have another look please ?

@@ -280,7 +290,7 @@ else if ( !StringUtils.isEmpty( argsProp ) )

commandLine.addArguments( args, false );

Executor exec = new DefaultExecutor();
Executor exec = inheritIo ? new ExtendedExecutor(inheritIo) : new DefaultExecutor();
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand the constructor; This will always be new ExtendedExecutor(true)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was a way to minimize code changes, but a better fix would be

Executor exec = new ExtendedExecutor(inheritIo);

@gnodet
Copy link
Contributor Author

gnodet commented Mar 5, 2021

Superseded by #196

@gnodet gnodet closed this Mar 5, 2021
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

2 participants