max-mapper/electron-spawn

Doesn’t work with whitespace in filename

Open

#13 opened on Dec 12, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (18 forks)github user discovery
help wanted

Repository metrics

Stars
 (196 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi, the JS API seems to have problems executing a file with whitespace in its path.

To reproduce:

▸ git clone git@gist.github.com:7fbe4fafe896bbb96679.git

▸ npm install

▸ node -e "require('electron-spawn')('no-space.js').stdout.pipe(process.stdout)"
◂ ok
# This is alright.

▸ node -e "require('electron-spawn')('with space.js').stdout.pipe(process.stdout)"
# The `ok` never comes!

The contents of no-space.js and with space.js are identical.

Contributor guide