Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

nicholasbishop/simplecmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplecmd

Simple wrapper around subprocess. A single function is provided:

run(*cmd, **kwargs)

Pass a command name and its arguments as cmd.

Optional kwargs:

  • cwd: current working directory (string)
  • capture: capture stdout and return it (bool)
  • capture_stderr: redirect stderr to stdout and return it (bool)
  • env: environment variables (dict)

About

Simple wrapper around subprocess

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published