Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 19, 2012
  1. @josh

    ExecJS 1.3.0

    josh authored
  2. @josh

    Add disabled runtime

    josh authored
Commits on Dec 19, 2011
  1. @josh

    ExecJS 1.2.13

    josh authored
  2. @josh

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

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

    ExecJS 1.2.12

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

    authored
    Remove subshells windows
  2. @luislavena
  3. @luislavena

    Unify executable lookup (which_*) into one

    luislavena authored
    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 authored
  2. @josh

    Fix `cmd` typo

    josh authored
  3. @josh

    ExecJS 1.2.10

    josh authored
  4. @josh

    Merge pull request #57 from tenderlove/shell

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

    ExecJS 1.2.9

    josh authored
  2. @josh

    Merge pull request #51 from cablegram/master

    josh authored
    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 authored
    …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 authored
  2. @josh

    Merge pull request #49 from rubys/master

    josh authored
    Fix issue 48 for me
  3. @rubys

    correctly escape windows reserved shell characters

    rubys authored
    Cope with @binary with values such as:
      C:\Windows\System32\cscript.exe //E:jscript //Nologo //U
  4. @josh

    Quote windows shell args

    josh authored
  5. @josh
Commits on Sep 19, 2011
  1. @josh

    Join sources with interpolation

    josh authored
    JRuby's String#join doesn't respect encodings
    
    Fixes #47
  2. @josh

    ExecJS 1.2.7

    josh authored
  3. @josh

    Ensure all args are shellescaped

    josh authored
Commits on Sep 13, 2011
  1. @josh

    node returns utf-8

    josh authored
    Fixes #45
  2. @josh

    ExecJS 1.2.6

    josh authored
  3. @josh

    Merge test files

    josh authored
  4. @josh

    Only install johnson on 1.8

    josh authored
  5. @josh

    Unbox mustang objects

    josh authored
  6. @josh

    Separate spidermonkey runner

    josh authored
  7. @josh

    Catch JScript syntax errors too

    josh authored
  8. @josh

    Encode UTF-8 literals for JScript

    josh authored
Commits on Sep 12, 2011
  1. @josh

    Lets be serious

    josh authored
    its never going to be green
Something went wrong with that request. Please try again.