Project

General

Profile

Actions

Feature #4269

closed

command with && should execute as shell

Added by rogerdpack (Roger Pack) over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:34387]

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 master - Feature #4477: Kernel:exec and backtick (`) don't work for certain system commandsClosedakr (Akira Tanaka)03/07/2011Actions
Related to Backport193 - Backport #7143: system("ls && ls") should work in windowsClosedusa (Usaku NAKAMURA)10/12/2012Actions
Actions #1

Updated by usa (Usaku NAKAMURA) over 10 years ago

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

=begin

=end

Actions #2

Updated by nahi (Hiroshi Nakamura) almost 10 years ago

  • Assignee changed from usa (Usaku NAKAMURA) to nobu (Nobuyoshi Nakada)
  • Target version set to 1.9.3
Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 10 years ago

  • Tracker changed from Bug to Feature
Actions #4

Updated by naruse (Yui NARUSE) almost 10 years ago

  • Target version changed from 1.9.3 to 2.0.0

Updated by yhara (Yutaka HARA) over 8 years ago

  • Target version changed from 2.0.0 to 2.6

Updated by Eregon (Benoit Daloze) over 8 years ago

  • Status changed from Assigned to Closed

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

Actions

Also available in: Atom PDF