We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
JRUBY_OPTS="-J-Djruby.launch.inproc=true"
system(cmd_string_here)
--pattern
*.exe
Background & observations:
Two small programs collaborate to show output
#!/usr/bin/env ruby # # sys.rb # puts "SYS" p ARGV # cmd='ruby reader.rb --pattern \*.rb' # ["--pattern", "*.rb"] cmd='ruby reader.rb --pattern *.rb' # ["--pattern", "reader.rb", "sys.rb"] cmd='ruby reader.rb --pattern {.rb' # ["--pattern"] cmd='ruby reader.rb --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb' # ["--pattern"] cmd='ruby reader.rb --pattern /\*.rb' # ["--pattern"] <- enebo's minimization system(cmd)
and reader.rb:
#!/usr/bin/env ruby puts 'READER' p ARGV
Expected:
JRUBY_OPTS="-J-Djruby.launch.inproc=false" ruby sys.rb SYS [] READER ["--pattern", "spec/**/*_spec.rb", "spec/**/*/**/*_spec.rb"]
Actual
RUBY_OPTS="-J-Djruby.launch.inproc=true" ruby sys.rb SYS [] READER ["--pattern"]
The text was updated successfully, but these errors were encountered:
I suspect that 9k is not actually observing the inproc flag, which is probably why it's working there.
I would also be surprised if this is a recent regression.
Sorry, something went wrong.
1.7.x will be EOL after 1.7.28 and no one has stepped up to solve this.
No branches or pull requests
Environment
JRUBY_OPTS="-J-Djruby.launch.inproc=true"
system(cmd_string_here)
--pattern
arg with a glob-expanding argument, like*.exe
Background & observations:
Two small programs collaborate to show output
and reader.rb:
Expected:
Actual
The text was updated successfully, but these errors were encountered: