Permalink
Commits on Feb 25, 2012
Commits on Jan 19, 2012
  1. ExecJS 1.3.0

    josh committed Jan 19, 2012
  2. Add disabled runtime

    josh committed Jan 19, 2012
Commits on Dec 19, 2011
  1. ExecJS 1.2.13

    josh committed Dec 19, 2011
  2. Merge pull request #60 from eckz/fix-directory-executable

    Fixes #59. Avoid find directories as executables.
    josh committed Dec 19, 2011
Commits on Dec 8, 2011
  1. ExecJS 1.2.12

    josh committed Dec 8, 2011
Commits on Dec 6, 2011
  1. Merge pull request #58 from luislavena/remove-subshells-windows

    Remove subshells windows
    sstephenson committed Dec 6, 2011
  2. Unify executable lookup (which_*) into one

    In the case of Windows, shelling out to perform the lookup was even more
    expensive than POSIX.
    
    What was done here is remove the dependency on `which.bat` support file and
    perform a direct lookup over ENV['PATH'] looking for the required
    executable.
    
    The approach taken will append '.exe' to supplied cmd name under Windows.
    
    Only .exe are truly executables and anything else (.bat, .vbs, .msc) can't
    be executed directly.
    
    To execute batch files (.bat, .cmd), Ruby wraps them with cmd.exe.
    
    Based on existing executables on the platform (node.exe, cscript.exe) and
    that .com hasn't been seen in the past 10 years (only for compatibility),
    the lookup over PATHEXT seems unnecessary.
    luislavena committed Dec 6, 2011
Commits on Dec 5, 2011
  1. ExecJS 1.2.11

    josh committed Dec 5, 2011
  2. Fix `cmd` typo

    josh committed Dec 5, 2011
  3. ExecJS 1.2.10

    josh committed Dec 5, 2011
  4. Merge pull request #57 from tenderlove/shell

    Reduce subshells
    josh committed Dec 5, 2011
Commits on Sep 24, 2011
  1. ExecJS 1.2.9

    josh committed Sep 24, 2011
  2. Merge pull request #51 from cablegram/master

    Ensure that commands and args are properly quoted if they contain spaces or reserved shell characters (on Windows).
    josh committed Sep 24, 2011
Commits on Sep 22, 2011
  1. Ensure that commands and args are properly quoted if they contain spa…

    …ces or reserved shell characters (on Windows).
    
    
    http://technet.microsoft.com/en-us/library/cc723564.aspx states that "all reserved shell characters not in double quotes must be escaped." It also states that "any argument that contains spaces...must be enclosed in double quotes" Furthermore, "if a double-quoted argument itself contains a double quote character, the double quote must be doubled."
    cablegram committed Sep 22, 2011
Commits on Sep 20, 2011
  1. ExecJS 1.2.8

    josh committed Sep 20, 2011
  2. Merge pull request #49 from rubys/master

    Fix issue 48 for me
    josh committed Sep 20, 2011
  3. correctly escape windows reserved shell characters

    Cope with @binary with values such as:
      C:\Windows\System32\cscript.exe //E:jscript //Nologo //U
    rubys committed Sep 20, 2011
  4. Quote windows shell args

    josh committed Sep 20, 2011
Commits on Sep 19, 2011
  1. Join sources with interpolation

    JRuby's String#join doesn't respect encodings
    
    Fixes #47
    josh committed Sep 19, 2011
  2. ExecJS 1.2.7

    josh committed Sep 19, 2011
  3. Ensure all args are shellescaped

    josh committed Sep 19, 2011
Commits on Sep 13, 2011
  1. node returns utf-8

    Fixes #45
    josh committed Sep 13, 2011
  2. ExecJS 1.2.6

    josh committed Sep 13, 2011
  3. Merge test files

    josh committed Sep 13, 2011
  4. Only install johnson on 1.8

    josh committed Sep 13, 2011
  5. Unbox mustang objects

    josh committed Sep 13, 2011
  6. Separate spidermonkey runner

    josh committed Sep 13, 2011
  7. Catch JScript syntax errors too

    josh committed Sep 13, 2011