Skip to main content

Questions tagged [terminate]

For questions regarding the termination of processes, threads, and sessions.

0 votes
0 answers
17 views

windows python app ignore signal handler and close immediately on any signal

I have two simple python3.11.6 scripts. One is just printing PID and waiting for signal Second one is trying to send some signal. For example SIGINT into first script. First script should just print ...
Pavol's user avatar
  • 1
-1 votes
2 answers
128 views

Can TerminateThread() terminate GetCurrentThread()?

The docs don't say whether the result of GetCurrentThread() is a valid argument to TerminateThread(), iow: whether a thread can cancel itself. Can it? And if yes, does TerminateThread() then return at ...
Marc Mutz - mmutz's user avatar
0 votes
1 answer
33 views

Quantum Espresso aborted with "1 process returned a non-zero exit code."

My workload is not intensive. I have computed more complex systems using Quantum Espresso. However, I am currently take this error. "The primary job terminated normally, but one process returned ...
berna uyanık's user avatar
0 votes
0 answers
11 views

Can you programmatically trigger process death and restart the app under instrumentation?

I have some mutable state that lives in the Application that I want to make sure persists across process death without manual intervention. This means I need a way to read the state in the Application,...
John Glen's user avatar
  • 883
0 votes
0 answers
49 views

Terminate Telegram Bot When JavaFX closes

I have a JavaFX project where I implemented TelegramBot extending TelegramLongPollingBot. Everything works fine but I noticed that when I close the App gui in eclipse, there are still remaining ...
Ahmed's user avatar
  • 1
1 vote
1 answer
51 views

Unexpected behavior after process termination in python

I have a multprocessing program which is designed to terminate all other processes when the first process is done, using multiprocessing.Lock() for indicating the end of this process, and ...
jonemarian's user avatar
0 votes
0 answers
107 views

Error running 'app': Couldn't terminate previous instance of app error in Android Studio

While developing in Android Studio, after making a change in the code, I click "apply changes" and encounter this error. After unplugging the device from USB, plugging it in again and ...
Serkan Önder's user avatar
0 votes
0 answers
58 views

Android Studio gets stuck in "Terminating the app" every time I want to run a program in emulator... beginning of: kernel, system, crash, main

sorry but this is probably going to be a long one. Its my first time building an App with Android Studio and pretty much with Java. I'm trying to build a Chronometer. It was doing good and running ...
Héctor Ocampo Ruiz's user avatar
0 votes
2 answers
55 views

How can I terminate a function process when an event occurred

everyone, there is a task, where I need to terminate a function process when an event occurs. Normally, when throwing an error in anything inside the process, for example, throwing an error from the ...
Mahmoud Y3c's user avatar
0 votes
0 answers
46 views

Multiple processes in docker container cannot recieve term signal

My k8s deployment file is - name: ztest image: xxx/test imagePullPolicy: IfNotPresent args: - ./run.sh - hello run.sh is like for d in plugins_"$...
BAE's user avatar
  • 8,824
0 votes
0 answers
57 views

How to show the fullscreen display notification when the app is terminated at Flutter?

I want to show the full screen notification when the app receive the fcm. exactly when the value of isfullscreen is received as true from the payload value of fcm. I have main.dart and ...
hluuy's user avatar
  • 1
0 votes
0 answers
72 views

Codespace terminates my code within seconds?

I am running a project on Github codespaces but my it automatically terminated my code within few seconds. I have locally ran this project and the whole thing takes like 2 mins to run on an average ...
mustafa sohail's user avatar
19 votes
3 answers
740 views

Understand what really happens when calling a throwing function in a noexcept function

See the following code containing 3 implementations of a function calling another throwing function. # include <stdexcept> void f() { throw std::runtime_error(""); } void g1() { ...
Caduchon's user avatar
  • 5,089
0 votes
0 answers
45 views

How can I determine whether a user is watching YouTube Shorts or using the regular YouTube app within my Flutter application?

I'm developing a Flutter app and aiming to create a functionality that specifically identifies ** when a user is watching YouTube Shorts within the official YouTube app.** Currently, I've successfully ...
SAFI Ullah's user avatar
0 votes
1 answer
65 views

Powerbuilder Response window hangs then App closes - Any ideas?

The app I support is active on over 1500 users computers all using windows 10. I have one user with a similarly configured computer that is having a problem I have not seen before. When they run the ...
Steven Carter's user avatar

15 30 50 per page
1
2 3 4 5
64