fix windows sleep

This commit is contained in:
Jeong, YunWon authored and Jeong, YunWon committed 2025-02-07 07:53:28 +09:00
1 parent 29d014a0e1
commit 8f5cc6174c
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ else:
return ["cmd", "/C", f"echo {text}"]
def sleep(secs):
# TODO: make work in a non-unixy environment (something with timeout.exe?)
return ["sleep", str(secs)]
return ["powershell", "/C", "sleep", str(secs)]
p = subprocess.Popen(echo("test"))