Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

#Subwork

A subprocess module with "timeout" feture.

  • Example
from subwork import SubWork

cmd = "/bin/ls /tmp"
worker = SubWork()
res = worker.start(cmd, 300, "/tmp/stdout.log", "/tmp/stderr.log")
print res 

About

Subprocess module with timeout

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages