Skip to content

Commit

Permalink
exec instead of shelling out
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
  • Loading branch information
sergiusens committed Apr 26, 2016
1 parent e0ddd7c commit a840a34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/linux/bin/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ NAME="@@NAME@@"
VSCODE_PATH="/usr/share/$NAME"
ELECTRON="$VSCODE_PATH/$NAME"
CLI="$VSCODE_PATH/resources/app/out/cli.js"
ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
exit $?
ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 exec "$ELECTRON" "$CLI" "$@"

0 comments on commit a840a34

Please sign in to comment.