blob: 70834e2543d62d4ec267409fec03d98de6d97a42 [file] [log] [blame] [edit]
#!/usr/bin/env bash
NODE_EXE="$( dirname ${BASH_SOURCE[0]} )/node.exe"
if [ -t 0 -a -t 1 ]; then
/usr/bin/winpty $NODE_EXE "$@"
else
exec $NODE_EXE "$@"
fi