Questions tagged [exit]
Exiting, quitting, or halting refers to the termination of a process or program.
2,615
questions
2
votes
0
answers
71
views
Stop execution of a python script as if it ran to the end
I want to stop the execution of a Python (3.12) script with a behaviour that is identical to the script running to completion in ideally all contexts, such as:
run with python script.py;
run with ...
0
votes
0
answers
26
views
win32com Excel terminating python program out of nowhere
I'm using a library called Excel2Image in order to take a sheet range in excel and save it as a video. This library uses win32com in order to get an excel application.
Inside of my main program, ...
0
votes
1
answer
54
views
How do I Exit a Process if a Child Fails?
The program I'm working with requires a secondary executable to run (for asset compression). For error handling reasons, I need the return value of the child process. According to the system man page,
...
0
votes
0
answers
56
views
Get this error statement: Process 'command 'C:\src\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Whenever I try to run an app, I get the error code below. There is absolutely no solution for this online, and it is getting really frustrating.
FAILURE: Build failed with an exception.
Where:
Script '...
0
votes
1
answer
21
views
I have no idea what error I am going through.. Can anyone explain how to fix this problem?
enter image description here
The sign error. I have no idea what error I am going through.
I have tried it for several times, even reinstalled visual studio for Mac twice. But the problem wasn't ...
0
votes
1
answer
47
views
Powershell to continue gracefully in case of a try catch
Appologies, this might be a simple thing, but I can't get it working!! I have a much bigger script for the demo purposes I have simplified this. Basically, what I want is that PowerShell to continue ...
0
votes
1
answer
26
views
Python program stuck or quit without warning or error (sometimes raise segment fault)
Code:
import subprocess
from PIL import Image
import colorsys
import numpy as np
for t in range(1,49):
in_file_name=f"Pf{t:02d}.bin"
subprocess.run(f"sz3 -f -i /home/jzz/...
0
votes
1
answer
71
views
In C# how to exit the PowerShell execution using the Exit command
my C# code invokes PowerShell scripts to do somthing. However after the script is executed there is always a "powershell.exe" process existing on the system's Task Manager list. I want to ...
1
vote
1
answer
46
views
How do I close all applications before quitting awesomewm?
I'd like to write a function that closes all open applications before quitting.
This is to make sure I haven't forgotten to save a modified file.
If I use the Super+Shift+q shortcut, awesome forces ...
0
votes
0
answers
203
views
Chrome Kiosk mode allows you to exit by tapping and holding on touch screen
We are using a large touchscreen with an web app we have created that has an interactive canvas. I have managed to disable most touch features, such as context menu and zoom etc, but one issue remains,...
-1
votes
2
answers
99
views
Simple C++ Program. Need Clarification On "Bad Coding Practice" [closed]
This program's purpose is basically to get a character from a user and repeat it. There were a few things we had to do other than that in the program but that was the gist of it.
#include <iostream&...
1
vote
0
answers
40
views
How to close an express and a websocket server on the git bash terminal close on Windows
I want my node.js app close on git bash terminal window close ( without pressing ctrl+c )
I tried SIGTERM SIGINT SIGHUP SIGWHATEVER, it doesn't work, the app won't exit, I get 'the port blabla is ...
0
votes
0
answers
82
views
Problems with docker nodejs app exit code 137
I'm trying to develop a full-stack app with nodejs, react-native, expo and docker and when I try to make docker-compose down or docker-compose stop I get as status Exited(137) in frontend and backend ...
1
vote
0
answers
35
views
Why does this Python script hang? async-await? Django-ORM?
I'm trying to learn to use this Python package for patent searching:
https://pypi.org/project/patent-client/
https://patent-client.readthedocs.io/en/latest
I'm following this example:
https://patent-...
0
votes
1
answer
29
views
Exiting a timer macro before calling it again
I have an excel countdown macro that works fine, but I need to be able to exit the routine if it's called a second time before the first version runs to zero... right now, when the user creates a ...