8000 GitHub - Pinperepette/ppl: it's a simple utility to do things the way I like to do them ... BAD and rapid
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Pinperepette/ppl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPL Python Process Launch

🧐 About

it's a simple utility to do things the way I like to do them ... BAD and rapid

Have you ever had to kill a subprocess or a process launched by a script as a daemon? with ppl you do it easy, greep process && kill. the end.

🏁 Getting Started

Installing

python setup.py

🔧 Running the tests

python main.py

🎈 Usage

#!/usr/bin/env python

""" example file main.py """

from ppl  import start, stop
import time

# start process name processo
processo = start('python demone.py')
""" 
if the script takes parameters, 
processo = start(f'python demone.py {parameters}')
"""
time.sleep(10)

# kill process name processo
stop(processo)

About

it's a simple utility to do things the way I like to do them ... BAD and rapid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0