Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Commit

Permalink
docs: inform about signal events on Windows (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode authored and Kent C. Dodds committed May 15, 2018
1 parent d5170bf commit eb37984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -139,6 +139,8 @@ The rule of thumb is: if you want to pass to `cross-env` a command that
contains special shell characters *that you want interpreted*, then use
`cross-env-shell`. Otherwise stick to `cross-env`.

On Windows you need to use `cross-env-shell`, if you want to handle [signal events](https://nodejs.org/api/process.html#process_signal_events) inside of your program. A common case for that is when you want to capture a `SIGINT` event invoked by pressing `Ctrl + C` on the command-line interface.

## Inspiration

I originally created this to solve a problem I was having with my npm scripts in
Expand Down

0 comments on commit eb37984

Please sign in to comment.