Skip to content

Commit

Permalink
Trap ^Z signal in the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 2, 2017
1 parent cc39441 commit 1c04336
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demo/jline-gogo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ if ${cygwin}; then
DIRNAME=$(cygpath --path --windows "${DIRNAME}")
fi

nothing() {
# nothing to do here
a=a
}
trap 'nothing' TSTP

# Launch gogo shell
echo "Launching Gogo JLine..."
echo "Classpath: $cp"
Expand Down

0 comments on commit 1c04336

Please # to comment.