mirror of
https://github.com/aljazceru/recon-pipeline.git
synced 2025-12-22 16:54:19 +01:00
Add docs (#3)
* initial work on sphinx docs; much left to do * first pass at docs complete; still has some warts
This commit is contained in:
@@ -239,13 +239,13 @@ class ReconShell(cmd2.Cmd):
|
||||
|
||||
# go tools use subshells (cmd1 && cmd2 && cmd3 ...) during install, so need shell=True
|
||||
proc = subprocess.Popen(
|
||||
command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||
command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
||||
)
|
||||
else:
|
||||
|
||||
# "normal" command, split up the string as usual and run it
|
||||
proc = subprocess.Popen(
|
||||
shlex.split(command), stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||
shlex.split(command), stdout=subprocess.PIPE, stderr=subprocess.PIPE,
|
||||
)
|
||||
|
||||
out, err = proc.communicate()
|
||||
|
||||
Reference in New Issue
Block a user