Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Python functions to call shell command which wraps subprocess.

Usage

from pathlib import Path
import shell

shell.exec("echo 'Hello World!'")
shell.exec("sleep 10", timeout_s = 1, log = Path("./log.txt"))

val = shell.valueof("pwd")
print(val)

About

python function to call shell command which wraps subprocess

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages