Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix switches for alternative shells on Windows #26

Closed
wants to merge 2 commits into from

Commits on Nov 9, 2018

  1. fix switches for alternative shells on Windows

    On Windows, normalizeSpawnArguments set "/d /s /c" for any shells.
    It cause exec and other methods are limited to cmd.exe as a shell.
    
    Powershell and git-bash are often used instead of cmd.exe,
    and they can recieve "-c" switch like unix shells.
    So normalizeSpawnArguments is changed to set "/d /s /c" for cmd.exe,
    and "-c" for others.
    gucong3000 committed Nov 9, 2018
    Copy the full SHA
    af829ef View commit details
    Browse the repository at this point in the history
  2. Update index.js

    gucong3000 committed Nov 9, 2018
    Copy the full SHA
    2ebd89f View commit details
    Browse the repository at this point in the history