8000 GitHub - troxel/solo: Python module to ensure only a single instance of a program is running. · GitHub
[go: up one dir, main page]

Skip to content
troxelPublic

About

Python module to ensure only a single instance of a program is running.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

< 770E td>
 
NameName
Last commit message
Last commit date
 
 
 
 
 

Repository files navigation

solo

Python module to ensure only a single instance of a program is running.

Synopsis

To check for other instances of a script running and stop all other instances and continue on:

import solo
solo.chk_and_stopall(__file__)

To check for other instances of a script are running and stop self (sys.exit(-1))

import solo
solo.chk_and_stopself(__file__)

Dependencies

import psutil

Uses psutil which gives cross platform magic

About

Python module to ensure only a single instance of a program is running.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0