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

Fork command (unless windows) #42

Merged
merged 5 commits into from
Nov 8, 2017
Merged

Conversation

jakolehm
Copy link
Contributor

@jakolehm jakolehm commented Nov 7, 2017

Less side-effects when executing commands

end

def fork_supported?
!Gem.win_platform?
Copy link
Contributor

Choose a reason for hiding this comment

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

Process.respond_to?(:fork) could be more universal.

If fork is not usable, Process.respond_to?(:fork) returns false. (http://www.rubydoc.info/stdlib/core/Process.fork)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@jakolehm jakolehm merged commit f2f2980 into master Nov 8, 2017
@jakolehm jakolehm deleted the feature/fork-runner-on-nix branch November 8, 2017 08:51
@jakolehm jakolehm mentioned this pull request Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants