Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -694,9 +694,9 @@ async def process_input(user_input, process):
|
|
694 |
# Send Ctrl+C signal to the subprocess
|
695 |
process.send_signal(signal.SIGINT)
|
696 |
# Read output and error asynchronously
|
697 |
-
|
698 |
-
print(
|
699 |
-
|
700 |
else:
|
701 |
print(user_input)
|
702 |
process.stdin.write(user_input.encode('utf-8') + b'\n')
|
|
|
694 |
# Send Ctrl+C signal to the subprocess
|
695 |
process.send_signal(signal.SIGINT)
|
696 |
# Read output and error asynchronously
|
697 |
+
# await process.communicate()
|
698 |
+
print('stoping signal sent')
|
699 |
+
|
700 |
else:
|
701 |
print(user_input)
|
702 |
process.stdin.write(user_input.encode('utf-8') + b'\n')
|