Feature #4269

command with && should execute as shell

Added by Roger Pack over 3 years ago. Updated over 1 year ago.

[ruby-core:34387]
Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada
Category:core
Target version:next minor

Description

=begin
Hello.
Currently with linux
command("ls && ls") is passed out to shell (correctly) so that it can run with the correctly logic.

On windows it should also do the same, but doesn't currently, passing it straight through as parameters.
I don't think this is exactly expected.
Thanks.
-r
=end


Related issues

Related to ruby-trunk - Feature #4477: Kernel:exec and backtick (`) don't work for certain syste... Closed 03/07/2011
Related to Backport93 - Backport #7143: system("ls && ls") should work in windows Closed 10/12/2012

History

#1 Updated by Usaku NAKAMURA over 3 years ago

  • Category set to core
  • Status changed from Open to Assigned
  • Assignee set to Usaku NAKAMURA

=begin

=end

#2 Updated by Hiroshi Nakamura almost 3 years ago

  • Assignee changed from Usaku NAKAMURA to Nobuyoshi Nakada
  • Target version set to 1.9.3

#3 Updated by Nobuyoshi Nakada almost 3 years ago

  • Tracker changed from Bug to Feature

#4 Updated by Yui NARUSE almost 3 years ago

  • Target version changed from 1.9.3 to 2.0.0

#5 Updated by Yutaka HARA over 1 year ago

  • Target version changed from 2.0.0 to next minor

#6 Updated by Benoit Daloze over 1 year ago

  • Status changed from Assigned to Closed

I think this has been implemented in #7143 (r37322).
Therefore, closing as duplicate.

Also available in: Atom PDF