Skip to content
Commits on Apr 18, 2012
  1. merge

    committed Apr 18, 2012
Commits on Jan 19, 2012
  1. @josh

    ExecJS 1.3.0

    josh committed Jan 19, 2012
  2. @josh

    Add disabled runtime

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

    ExecJS 1.2.13

    josh committed Dec 19, 2011
  2. @josh

    Merge pull request #60 from eckz/fix-directory-executable

    josh committed Dec 19, 2011
    Fixes #59. Avoid find directories as executables.
  3. @eckz
Commits on Dec 8, 2011
  1. @josh

    ExecJS 1.2.12

    josh committed Dec 8, 2011
Commits on Dec 6, 2011
  1. @sstephenson

    Merge pull request #58 from luislavena/remove-subshells-windows

    sstephenson committed Dec 5, 2011
    Remove subshells windows
  2. @luislavena
  3. @luislavena

    Unify executable lookup (which_*) into one

    luislavena committed Dec 5, 2011
    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.
Commits on Dec 5, 2011
  1. @josh

    ExecJS 1.2.11

    josh committed Dec 5, 2011
  2. @josh

    Fix `cmd` typo

    josh committed Dec 5, 2011
  3. @josh

    ExecJS 1.2.10

    josh committed Dec 5, 2011
  4. @josh

    Merge pull request #57 from tenderlove/shell

    josh committed Dec 5, 2011
    Reduce subshells
  5. @tenderlove
  6. @tenderlove
Commits on Sep 24, 2011
  1. @josh

    ExecJS 1.2.9

    josh committed Sep 24, 2011
  2. @josh

    Merge pull request #51 from cablegram/master

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

    Ensure that commands and args are properly quoted if they contain spa…

    cablegram committed Sep 22, 2011
    …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."
Commits on Sep 20, 2011
  1. @josh

    ExecJS 1.2.8

    josh committed Sep 20, 2011
  2. @josh

    Merge pull request #49 from rubys/master

    josh committed Sep 20, 2011
    Fix issue 48 for me
  3. @rubys

    correctly escape windows reserved shell characters

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

    Quote windows shell args

    josh committed Sep 20, 2011
  5. @josh
Commits on Sep 19, 2011
  1. @josh

    Join sources with interpolation

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

    ExecJS 1.2.7

    josh committed Sep 19, 2011
  3. @josh

    Ensure all args are shellescaped

    josh committed Sep 19, 2011
Commits on Sep 13, 2011
  1. @josh

    node returns utf-8

    josh committed Sep 13, 2011
    Fixes #45
  2. @josh

    ExecJS 1.2.6

    josh committed Sep 13, 2011
  3. @josh

    Merge test files

    josh committed Sep 13, 2011
  4. @josh

    Only install johnson on 1.8

    josh committed Sep 13, 2011
  5. @josh

    Unbox mustang objects

    josh committed Sep 13, 2011
  6. @josh

    Separate spidermonkey runner

    josh committed Sep 13, 2011
  7. @josh

    Catch JScript syntax errors too

    josh committed Sep 13, 2011
Something went wrong with that request. Please try again.