-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Windows doesn't like single quotes to be used as argument "wrappers", it will try to include them literally in the command-line argument.
Example:
write-file
var FS = require('fs')
var Path = require('path')
var file = process.argv[2]
FS.writeFileSync(Path.join(__dirname, file), 'foo')
When I call node write-file 'hello.txt', it creates literally the file 'hello.txt', with quotes.
binki and KevinWang15