Questions tagged [quit]
156 questions
1
vote
0 answers
Why does SMTP (and similar protocols) have the QUIT command?
It seems to me that the operation doesn't give any information to any participant. Closing the TCP connection by the client can be detected by the server just as well. And the client doesn't need any kind of acknowledgement after deciding to…

Petr
- 62,528
- 13
- 153
- 317
1
vote
1 answer
Qt C++ how stop thread if moveToThread
After lots of experimentation and learning from stackoverflow, I've create a QObject worker, a QThread, and moved my QObject worker to my QThread, and started the QThread - and it's working!
void TelnetServer::incomingConnection(qintptr…

TSG
- 4,242
- 9
- 61
- 121
1
vote
2 answers
The jQuery addClass function quits my script
Uhm, I've got this script but it does not work.
It's all about this line: document.getElementById('thetest').addClass('superspecial');
As soon as the class should be added (but it isn't) the whole script quits...
Does anybody know why?

Isaiah
- 1,852
- 4
- 23
- 48
1
vote
1 answer
iOS UIManagedDocument closing
Unless done explicitly, is the only time a UIManagedDocument closed when the app is "quit"? By quit I mean when the user double taps the home button and holds onto the apps and closes them out.
I ask because right now I have my app in a…

user1529956
- 735
- 2
- 10
- 24
1
vote
3 answers
Can't finish execution by complete when user leave the app
I need to stop all that my app is doing (like vibrating) after the user quit the aplication, how can i do that ? My app vibrate the phone for certain amount of time that the user choose, but if the user start, and quit the app .. the cellphone…

Rcgoncalves
- 13
- 5
1
vote
0 answers
Zombie Process after using a Windows subclass callback
I'm using the SetWindowSubclass(...) method of the Windows API to kind of "hook" messages transmitted to a WinProc that is out of the scope of my application.
My application is made of a core and plugins in DLL.
I've implemented such a Subclass in…

matt
- 1,046
- 1
- 13
- 26
1
vote
1 answer
AutoHotkey: Exit Script without pressing a key after its done
Run "C:\Program Files (x86)\Total CMA Pack\totalcmd.exe"
^!F1::
ExitApp
My Script works so far but it doesnt quit after its done.
I just want to start totalcommander and send a hotkey combo and then quit.
ExitApp doesnt work for me in…

notenjesus
- 11
- 2
1
vote
1 answer
how to quit matlab gui
I have this callback in my matlab gui that is executed by the menu->Programm->quit.
However the handles is empty.
function menuProgramQuit_Callback(hObject, eventdata, handles)
% hObject handle to menuProgramQuit (see GCBO)
% eventdata reserved…

Matthias Pospiech
- 3,130
- 18
- 55
- 76
1
vote
1 answer
Despite ReadLine() the program closes
I got a weird problem.
I create an object(inside that object i call readline..) then the program quits despite I called ReadLine() at the end.
Why it doesn't stop? How to make it stops?
using System;
using System.Collections.Generic;
using…

Robert
- 233
- 3
- 12
1
vote
1 answer
How do I quit a qt console application? Are there criterions for the QApplication::quit() slot to work?
I have a weird qt problem: My application doesn't quit in some configurations.
The idea is to have a program, which can be started as a program with a GUI (through myWindow) or as a pure console application (controlled via myConsole, which runs its…

enam
- 23
- 1
- 4
1
vote
1 answer
Error when quitting Excel and Logging Off
I need some help with Excel VBA (2010 on windows 7).
What I'm trying to do is close Excel and then shutdown the pc.
The code I have is:
Declare Function ExitWindowsEx& Lib "User32" (ByVal uFlags As Long, ByVal dwReserved AS Long)
Global Const…

rockOn123
- 45
- 1
- 1
- 7
0
votes
3 answers
quit the application by setting NSTimer?
is their any better way to quit the application programmatically?
recently i made a radio application that have a user setup to set a time using NSTimer for quit the app process ( i mean sleep time). when the time reaches the app should be stop its…

Neeraj Neeru
- 570
- 8
- 28
0
votes
4 answers
Programmatically stop execution of python script after running condition statement
How do you programmatically stop a python script after a condition sentence has run through. In the pseudo script below:
for row in rows:
if row.FIRSTDATE == row.SECONDDATE:
pass
else:
print "FIRSTDATE does not match…

Mike
- 4,099
- 17
- 61
- 83
0
votes
1 answer
Strange issue when closing a PyGTK application
I encounter a strange issue when closing a PyGTK application. This is the function used to quit the program:
def quit(self, obj=None, event=None):
gtk.main_quit()
os._exit(0)
When this function is called, the application's window…

ov1d1u
- 958
- 1
- 17
- 38
0
votes
1 answer
How to design a .net windows form application that never quit when user log out of Remote Desktop connection
I am quite new to windows form app development. I have an app installed on a remote IIS server, this app is an agent that check and process job queue every 10 minutes.
But if I click "Start" - "Log off" on the server to disconnect my Remote Desktop…

paul1155
- 107
- 1
- 9