Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
285 views

I am running the same python.exe, from the same working directory, in VS Code's terminal running cmd.exe, and in Windows Terminal running cmd.exe. For some reason, these two behave differently. In ...
1 vote
1 answer
90 views

I am debugging a workflow, and cannot quickly find a way to execute view (to print the diagnostic output) and then exit (quit) the workflow. The actual workflow is complex, and I reduced it to a ...
0 votes
1 answer
206 views

I am debugging a workflow, and cannot quickly find a way to execute view (to print the diagnostic output) and then exit (quit) the workflow. If I use System.exit(0) or exit(0) in the code snippet ...
2 votes
1 answer
166 views

I'm encountering a crash at exit(0) in a simple Perl script using DBI with DBD::Oracle, specifically when running on newer versions of glibc. Here’s a minimal script to reproduce the issue: use DBI; ...
1 vote
1 answer
264 views

I'm running a Perl script where everything appears to execute correctly, but it crashes immediately after calling exit 0;. Whether I run the script normally or with perl -d, the crash still happens. ...
-1 votes
0 answers
23 views

I'm trying to just render a window using auto window = RenderWindow(); from SFML but the compiler shows exit code -1073741515 (0xC0000135) over and over again. What causes this specific exit code? I'm ...
Zofia's user avatar
  • 1
0 votes
1 answer
78 views

I am using Spyder 6 console to invoke a Python script via the runfile command. After a recent Anaconda update, I found that sys.exit() no longer exits the script quietly. It prints: An exception has ...
user2153235's user avatar
  • 1,285
0 votes
0 answers
32 views

Using: go version go1.22.2 linux/amd64 on Ubuntu 24.04 some Go code: svc.Rc = 0 fmt.Println("my rc="+strconv.Itoa(svc.Rc)) os.Exit(svc.Rc) go run . ; echo $? # my rc=0 <== correct as ...
JohnA's user avatar
  • 899
2 votes
2 answers
201 views

I’m messing with PowerShell scripting and wanted to know if this was possible. I know when you use try / finally the code in the finally block will execute even when Ctrl+C is typed. However, how can ...
0 votes
0 answers
84 views

I'm having troules with Pydroid3: When a script is ending or an exception is thrown, Pydroid is halting and I have to force it to end by closing the app. Then anew opening the app, opening the script ...
lesenv's user avatar
  • 1
3 votes
0 answers
83 views

I am working on a C program that simulates a hair salon, and I'm facing an issue with terminating the main process from the simulation_timer_thread. The only way I can successfully exit the main ...
0 votes
1 answer
57 views

I'm learnig python and doing some simple programming exercises (Python 3.13.2 and VScode 1.97.1) Here, while a counter runs in the while loop, I'm listening for any key press in the background. When &...
BEsmart's user avatar
  • 67
3 votes
1 answer
71 views

Question: In R or RStudio, if a user aborts an ongoing calculation (by clicking the stop sign or pressing esc), on.exit is not called. Is there a way such that if the user presses esc, a certain ...
Said's user avatar
  • 33
0 votes
1 answer
84 views

I want a Game of Life program in the console. The parameters to initialize the 'field' can be changed in the mainMenu(). When all is done, it returns 1, and the drawing begins. When we return from ...
0 votes
1 answer
62 views

I am trying to add a hotkey to my python program so that I can quit out of it without having to click on the anaconda prompt and do ctrl+c. From another topic I see that sys.exit() merely raises an ...

15 30 50 per page
1
2 3 4 5
...
189

AltStyle によって変換されたページ (->オリジナル) /