https://github.com/devlooped/dotnet-stop
Gracefully stops processes by sending them SIGINT (Ctrl+C) in a cross platform way.
https://github.com/devlooped/dotnet-stop
Last synced: about 1 year ago
JSON representation
Gracefully stops processes by sending them SIGINT (Ctrl+C) in a cross platform way.
- Host: GitHub
- URL: https://github.com/devlooped/dotnet-stop
- Owner: devlooped
- License: mit
- Created: 2021-07-20T06:11:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T00:22:35.000Z (about 1 year ago)
- Last Synced: 2025-04-29T01:32:19.736Z (about 1 year ago)
- Language: C#
- Size: 60.5 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
README
 dotnet-stop
============
[](https://www.nuget.org/packages/dotnet-stop) [](https://www.nuget.org/packages/dotnet-stop) [](https://github.com/devlooped/dotnet-stop/blob/main/license.txt) [](https://github.com/devlooped/dotnet-stop/actions)
A dotnet global tool that gracefully stops processes by sending them SIGINT (Ctrl+C) in a cross platform way.
```
dotnet-stop
Sends the SIGINT (Ctrl+C) signal to a process to gracefully stop it.
Usage:
dotnet stop [options]
Arguments:
ID of the process to stop.
Options:
-t, --timeout Optional timeout in milliseconds to wait for the process to exit.
-q, --quiet Do not display any output. [default: False]
--version Show version information
-?, -h, --help Show help and usage information
```
If no timeout is provided, the tool will wait indefinitely for the target process to exit.
Otherwise, the process will exit with a non-zero exit code if the target process didn't
exit within the specified timeout time.
# Sponsors
[](https://github.com/clarius)
[](https://github.com/MFB-Technologies-Inc)
[](https://github.com/torutek-gh)
[](https://github.com/drivenet)
[](https://github.com/Keflon)
[](https://github.com/tbolon)
[](https://github.com/kfrancis)
[](https://github.com/twenzel)
[](https://github.com/unoplatform)
[](https://github.com/dansiegel)
[](https://github.com/rbnswartz)
[](https://github.com/jfoshee)
[](https://github.com/Mrxx99)
[](https://github.com/eajhnsn1)
[](https://github.com/IxTechnologies)
[](https://github.com/davidjenni)
[](https://github.com/Jonathan-Hickey)
[](https://github.com/akunzai)
[](https://github.com/jakobt)
[](https://github.com/tinohager)
[](https://github.com/KenBonny)
[](https://github.com/SimonCropp)
[](https://github.com/agileworks-eu)
[](https://github.com/sorahex)
[](https://github.com/arsdragonfly)
[](https://github.com/vezel-dev)
[](https://github.com/ChilliCream)
[](https://github.com/4OTC)
[](https://github.com/v-limo)
[](https://github.com/jordansjones)
[](https://github.com/DominicSchell)
[](https://github.com/jkingry)
[](https://github.com/sponsors/devlooped)
[Learn more about GitHub Sponsors](https://github.com/sponsors)