mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-11 21:08:35 +03:00
Update octosuite.py
Using subprocess.call() to list directories instead of os.system()
This commit is contained in:
@@ -87,7 +87,7 @@ def check_updates():
|
||||
|
||||
|
||||
def list_dir_and_files():
|
||||
os.system('dir' if os.name == 'nt' else 'ls')
|
||||
subprocess.call('cmd.exe /c dir' if os.name == "nt" else 'ls')
|
||||
|
||||
|
||||
# Delete a specified csv file
|
||||
|
||||
Reference in New Issue
Block a user