put executed commands in as a small title
This commit is contained in:
parent
63fc5a49ce
commit
82126a1f51
2
fih.py
2
fih.py
@ -107,7 +107,7 @@ Again, after setting the headline status you must: **@FIH PUBLISH**
|
||||
|
||||
|
||||
def exec_to_message( cmdline ):
|
||||
results = "`" + cmdline + "`:\n\n"
|
||||
results = "#### `" + cmdline + "`:\n\n"
|
||||
process = subprocess.Popen( cmdline, shell = True, cwd = app.config[ "STATUS_ROOT" ], stdout = subprocess.PIPE, stderr = subprocess.PIPE )
|
||||
|
||||
stdout = strip_progress( strip_ansi( process.stdout.read().decode( 'ascii', 'ignore' ) ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user