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:
epi052
2020-01-27 05:45:42 -06:00
committed by GitHub
parent 61de5801aa
commit 5e4d71d32a
20 changed files with 584 additions and 18 deletions

View File

@@ -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()