childprocess icon indicating copy to clipboard operation
childprocess copied to clipboard

Cross-platform Ruby library for managing child processes.

Results 11 childprocess issues
Sort by recently updated
recently updated
newest added

The basic example says ``` # ...or pass an IO process.io.stdout = Tempfile.new("child-output") ``` This sounds like a `StringIO` should work. But ``` irb(main):001:0> p = ChildProcess.build("ls") => # p.io.stdout...

1. Actions CI - similar to the code in PR #178, but only the workflow file. Updated Rubies, etc. Note that the coverage specific steps all failed with the other...

I have FFI installed, version 1.15.5, which appears when I run > rake test The following error occurs: `E:\blog\blog>rake test d:/Ruby30/lib/ruby/gems/3.0.0/gems/childprocess-4.1.0/lib/childprocess/windows.rb:6:in `rescue in ': FFI is a required pre-requisite for...

C:\Users\nick\Documents\ruby\work\depot>gem install ffi -v 1.15.5 Successfully installed ffi-1.15.5-x64-mingw32 Parsing documentation for ffi-1.15.5-x64-mingw32 Done installing documentation for ffi after 1 seconds 1 gem installed C:\Users\nick\Documents\ruby\work\depot>rake test C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/childprocess-4.1.0/lib/childprocess/windows.rb:6:in `rescue in ': FFI...

Since Travis CI seems to be going the way of the dodo and having multiple CI services (i.e. needing both Travis and AppVeyor) can be a hassle, I figured that...

help wanted
work in progress

`Process.spawn` is the official Ruby core API for spawning subprocesses, and I think it has all features needed to implement ChildProcess on top of it. I think it is the...

feature-request
help wanted

From https://github.com/enkessler/childprocess/issues/172

Version: ```sh $ ruby -r childprocess -e 'p ChildProcess::VERSION' "4.1.0" ``` The `host_cpu` changes between patchlevel versions: ```sh $ ruby-install -c -j12 --no-install-deps -r "$HOME"/tmp ruby 2.7.2 $ ruby-install -c...

There is [test failure](https://travis-ci.org/github/enkessler/childprocess/jobs/754717895) testing on Ruby 3.0: ~~~ 1) ChildProcess can write to stdin interactively if duplex = true Failure/Error: raise msg RuntimeError: timed out after 10 seconds: expected...

This is coming from this issue: https://github.com/SeleniumHQ/selenium/issues/9104 Reproduction is very straightforward. I debugged it to this line: https://github.com/enkessler/childprocess/blob/c6260739e86c1cabd9baebd76f2058eea2b1ae16/lib/childprocess/jruby/pump.rb#L14 Not sure why it is getting hung up, what thread join is...