MCPcopy Index your code
hub / github.com/LCBOWER33/StegoScan / run_silent_command

Function run_silent_command

StegoScan.py:302–308  ·  view source on GitHub ↗

Run a shell command silently, capturing output but not displaying it.

(command)

Source from the content-addressed store, hash-verified

300
301
302def run_silent_command(command):
303 """Run a shell command silently, capturing output but not displaying it."""
304 try:
305 result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
306 return result.stdout.strip()
307 except subprocess.CalledProcessError:
308 return None
309
310
311def check_and_install_poppler():

Callers 9

run_exiftoolFunction · 0.85
run_stegseekFunction · 0.85
run_stegexposeFunction · 0.85
run_stegoratFunction · 0.85
run_stegosuiteFunction · 0.85
jpegFunction · 0.85
pngFunction · 0.85
binaryFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected