|
|
@ -107,7 +107,7 @@ Again, after setting the headline status you must: **@FIH PUBLISH**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def exec_to_message( cmdline ):
|
|
|
|
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 )
|
|
|
|
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' ) ) )
|
|
|
|
stdout = strip_progress( strip_ansi( process.stdout.read().decode( 'ascii', 'ignore' ) ) )
|
|
|
|