diff --git a/bin/copyparty-fuse-streaming.py b/bin/copyparty-fuse-streaming.py index 2176aca9..266cdc71 100755 --- a/bin/copyparty-fuse-streaming.py +++ b/bin/copyparty-fuse-streaming.py @@ -1067,7 +1067,7 @@ def main(): dbg = null_log if WINDOWS: - os.system("") + os.system("rem") for ch in '<>:"\\|?*': # microsoft maps illegal characters to f0xx diff --git a/bin/copyparty-fuse.py b/bin/copyparty-fuse.py index e221ba54..2eb9b9fd 100755 --- a/bin/copyparty-fuse.py +++ b/bin/copyparty-fuse.py @@ -980,7 +980,7 @@ def main(): dbg = null_log if WINDOWS: - os.system("") + os.system("rem") for ch in '<>:"\\|?*': # microsoft maps illegal characters to f0xx diff --git a/copyparty/__main__.py b/copyparty/__main__.py index 2b4fcce7..cd17db95 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -88,7 +88,7 @@ def ensure_cert(): def main(): time.strptime("19970815", "%Y%m%d") # python#7980 if WINDOWS: - os.system("") # enables colors + os.system("rem") # enables colors desc = py_desc().replace("[", "\033[1;30m[") diff --git a/scripts/sfx.py b/scripts/sfx.py index aa0dd6a7..dd3bb704 100644 --- a/scripts/sfx.py +++ b/scripts/sfx.py @@ -402,7 +402,6 @@ def bye(sig, frame): def main(): sysver = str(sys.version).replace("\n", "\n" + " " * 18) pktime = time.strftime("%Y-%m-%d, %H:%M:%S", time.gmtime(STAMP)) - os.system("") msg() msg(" this is: copyparty", VER) msg(" packed at:", pktime, "UTC,", STAMP)