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

Kernel#system with two parameter on Windows fails #1074

Closed
mauricioszabo opened this issue Oct 2, 2013 · 4 comments
Closed

Kernel#system with two parameter on Windows fails #1074

mauricioszabo opened this issue Oct 2, 2013 · 4 comments
Assignees
Labels
Milestone

Comments

@mauricioszabo
Copy link

@mauricioszabo mauricioszabo commented Oct 2, 2013

On Windows XP 32 bits and JRuby 1.7.4, system doesn't work with more than one parameter. Didn't tested with another versions of windows

irb(main):001:0> system "start", "http://localhost/"
=> nil
irb(main):002:0> `start http://localhost/`
=> ""
irb(main):003:0> system "start http://localhost/"
=> true
@headius
Copy link
Member

@headius headius commented Oct 9, 2013

It does appear to work ok with JRuby 1.7.5 on OS X. Can you check if 1.7.5 works better for you?

@mauricioszabo
Copy link
Author

@mauricioszabo mauricioszabo commented Oct 9, 2013

On JRuby 1.7.4, it already worked on OSX, but not on Windows. This problem is windows-specific. I've tested with 1.7.5, and the problem still exists. I'm attaching a screenshot showing the issue on the new JRuby version

image

When I use system "echo", "Foo", the command does not executes and system returns nil. With only one parameter, it gives the expected result.

@headius headius modified the milestones: JRuby 1.7.12, JRuby 1.7.10 Feb 21, 2014
@KloppsKopp
Copy link

@KloppsKopp KloppsKopp commented Apr 11, 2014

On my machine, (win7prof, jruby 1.7.11)
system "echo", "foo" works,
but system "start", "." does nothing.
system "start ." works properly.

@enebo enebo modified the milestones: JRuby 1.7.13, JRuby 1.7.12 Apr 15, 2014
@enebo enebo modified the milestones: JRuby 1.7.14, JRuby 1.7.13 Jun 24, 2014
@enebo enebo modified the milestones: JRuby 1.7.14, JRuby 1.7.15 Aug 27, 2014
headius added a commit that referenced this issue Nov 2, 2014
Implemented multi args 'system' method on Windows fix #1074
@headius
Copy link
Member

@headius headius commented Nov 2, 2014

Fixed by #2008.

@headius headius closed this Nov 2, 2014
@headius headius modified the milestones: JRuby 1.7.17, JRuby 1.7.15 Nov 2, 2014
@headius headius self-assigned this Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants