Skip to content

Commit 3065a5c

Browse files
committed
fixed windows
1 parent 0a03796 commit 3065a5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class R {
1919
this.options = Object.assign({}, {
2020
encoding: 'utf8'
2121
}, _opts)
22+
if (process.platform === 'win32') this.options.shell = true
2223
if (!this.options.env) this.options.env = process.env
2324
if (!this.options.env.DIRNAME) this.options.env.DIRNAME = __dirname
2425
this.idCounter = 0

0 commit comments

Comments
 (0)