bash icon indicating copy to clipboard operation
bash copied to clipboard

Run bash commands from python

Results 10 bash issues
Sort by recently updated
recently updated
newest added

Hi, first for all, I want to say GREAT THANKS YOU for cool, simple and elegant tool! I've been looking for a long time way to rewrite some complex bash...

Hi Alex, I would like to use the library in commercial settings (and I plan to extend it) Can you please add License e.g. Apache 2.0? Do you accept PR...

(includes PR:1, can be merged instead of PR:1) The passed in list will be checked for correctness, unpacked and appended to the orginal command From updated readme: --- Pass in...

From updated readme: --- To get the results (separated by newlines) as a list: >>> b = bash('ls . ').results() ['bash.pyc', 'tests.pyc'] or use the iterator directly:: >>> b =...

The 'increasingly useful' case in Readme.rst seems to show when we initialize bash object, it keeps the standard output as same input for all subsequent bash function calls. But it...

add a missing double quote in below example: b.bash('grep ".py$')

The description is in the docstring print_and_wait in bash/__init__.py

Because I like your package and I needed the functionality to change the working directory of the script I exposed the ` Popen` argument `cwd` to optionally change the path....

Hi.I'm a Noob form China,And I really want to know what does this work.With only a `popen()` function? So if the computer don't have a naive bash,it will can't use...

There was a problem with the "cd" command, so I was able to get it working