Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
levitation committed Aug 2, 2020
1 parent 901fe17 commit a515b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Tool for ensuring that a process specified in the arguments is launched only one
By default, also a job object is created, which ensures that when SingleInstanceCmd.exe is killed then the child processes descending from it are also killed.

The main use case for this has been launching processes from Task Scheduler. Without this tool there are two issues with Task Scheduler:
1. When the task is manually ended, the process or its descendants was not necessarily all killed. Using a job object solves this.
2. After the task is manually ended or killed from Task Manager, the Task Scheduler may try to start multiple instances of the process concurrently.
1. When the task is manually ended via Task Scheduler, the process or its descendants was not necessarily all killed. Using a job object solves this.
2. After the task is manually ended via Task Scheduler or killed via Task Manager, the Task Scheduler may try to start multiple instances of the process concurrently.

### Usage:
SingleInstanceCmd.exe mutexname [-] cmd [args]
Expand Down

0 comments on commit a515b01

Please sign in to comment.