Skip to content

Implemented multi args 'system' method on Windows fix #1074#2008

Merged
headius merged 1 commit intojruby:jruby-1_7from
yousuketto:internal_cmd_on_win
Nov 2, 2014
Merged

Implemented multi args 'system' method on Windows fix #1074#2008
headius merged 1 commit intojruby:jruby-1_7from
yousuketto:internal_cmd_on_win

Conversation

@yousuketto
Copy link
Contributor

'system' method of multi args was not able to support Windows internal commands.
(ex) echo, cd, etc
fix #1074

jruby 1.7.16

# example.rb
p system("echo", "hoge")
p "----------"
p system("jruby", "-v")
c:\workspace\jruby1074>jruby example.rb
nil
"----------"
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b11 +jit [Windows 7-amd64]
true

'system' method of multi args was not able to support
Windows internal commands.
(ex) echo, cd, etc
@headius
Copy link
Member

headius commented Nov 2, 2014

Tests look ok and the change seems right. Can you help us a bit more by adding a regression spec to spec/regression? I will merge this.

headius added a commit that referenced this pull request Nov 2, 2014
Implemented multi args 'system' method on Windows fix #1074
@headius headius merged commit 581957e into jruby:jruby-1_7 Nov 2, 2014
@headius headius added this to the JRuby 1.7.17 milestone Nov 2, 2014
@headius headius self-assigned this Nov 2, 2014
yousuketto added a commit to yousuketto/jruby that referenced this pull request Nov 10, 2014
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