diff --git a/lib/read.sh b/lib/read.sh index 812e663..d26e4ed 100644 --- a/lib/read.sh +++ b/lib/read.sh @@ -1,3 +1,3 @@ read LINE %Q%' + pathStdout + - '%Q% & (ECHO !ERRORLEVEL!)>%Q%' + pathStatus + '%Q% & (ECHO 1)>%Q%' + pathDone + '%Q%']; + '%Q% & (echo !ERRORLEVEL!)>%Q%' + pathStatus + '%Q% & (echo 1)>%Q%' + pathDone + '%Q%']; } else { shellPath = '/bin/sh'; args = ['-c', '(' + shellPath + ' "' + __dirname + '/read.sh") >"' + pathStdout + diff --git a/package.json b/package.json index f3653b4..817ae6a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "readline-sync", "description": "Synchronous Readline", - "version": "0.2.4", + "version": "0.2.5", "homepage": "https://github.com/anseki/readline-sync", "author": { "name": "anseki"