Process.spawn should fail if wrong args passed
----------------------------------------------

                 Key: JRUBY-5348
                 URL: http://jira.codehaus.org/browse/JRUBY-5348
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9
            Reporter: Roger Pack
            Assignee: Thomas E Enebo


>> Process.spawn("ls", :stdout => '/tmp/abc')

in MRI:

ArgumentError: wrong exec option symbol: stdout

in jruby:

silently ignored.

jruby 1.6.0.RC1 (ruby 1.9.2 patchlevel 136) (2011-01-13 75ced7c) (Java 
HotSpot(TM) Client VM 1.6.0_18) [Windows 7-x86-java]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to