Questions tagged [kill-process]

This tag refers to the action of terminating (aborting) a process.

Use this tag for questions related to killing a specific process on a system.

701 questions
0
votes
1 answer

Android Killing Background Processes and Closing an Application

I currently have two applications. App A has a list of existing applications that you can click on and open. Including which is App B. Now I want to only run App B for a set amount of time ~30 minutes. Is there a way to automatically close App B…
ajl123
  • 1,172
  • 5
  • 17
  • 40
0
votes
1 answer

Vb.net kill process

I've a problem to resolve that is: I need to kill some process when a user disconnect (not logg off) his rdp session. This is an app which makes an established connection that is running for ever if the user forget logging off his Windows Rdp…
0
votes
1 answer

How to terminate a running program in c++

I have written a program using C++, which I call system("C:\xampp\xampp-control.exe"); to run the xampp control panel. When I run the program after compiling, it runs smoothly, except the program I have written is still running. Once the XAMPP…
Romeo Sierra
  • 1,666
  • 1
  • 17
  • 35
0
votes
1 answer

not able to kill other process

I want to kill other application, I have googled and see other answer on stackoverflow but didn't get satisfied answer. Here I am trying to kill browse app (for testing). What I want to do is, I want to kill application using package name. …
Mrugank Dhimmar
  • 202
  • 3
  • 14
0
votes
1 answer

Jobs being killed on Condor Enviroment

I am running an executable in Condor that basically processes an input Image and saves a binary image in a given folder. I use this code in 213 images. My condor configuration file contents are as following: universe = vanilla executable =…
mad
  • 2,677
  • 8
  • 35
  • 78
0
votes
0 answers

Python 3.4 on windows 7 64 bit: kill a python process

in a python 3.4 script, I've opened a process this way: myProcess = subprocess.Popen([sys.executable, pythonprocess.py, args], shell=False) How can I kill this process?
jul
  • 467
  • 3
  • 5
  • 12
0
votes
2 answers

killall(1) equivalent system call or C library call

I have to stop the earlier instances of processes before starting a new instance. For this i need to system call or a C library call. Presently i use "system("killall name"). This works but I want to replace this with any equivalent…
Ashoka K
  • 453
  • 3
  • 6
  • 17
0
votes
1 answer

MySQL query status killed

When I did show processlist; It shows status Killed and query NULL in one of the line. Should we kill this NULL query using Kill QUERY_ID? Will this impact to database?
Rohan Patil
  • 1,865
  • 1
  • 23
  • 36
0
votes
2 answers

How to genuinely cancel operations

I'm using NSOperation to perform two operations. The first operation is loading the data from Internet, while the second operation is updating the UI. However, if the viewDidDisappear function is triggered by user, how can I stop the data loading…
0
votes
0 answers

Unable to close a child window from a parent window using console commands

I'm unable to close a child window from a parent window using console commands in Windows. Problem description I have three windows: window x window y window z Window x has some console commands which I need to run after opening window y from…
manzur
  • 33
  • 5
0
votes
1 answer

Kill specific process in vb.net

I'm writing a program for my school, which is supposed to terminate some processes opened by user, like for example taskmgr, or regedit etc. How to do it? I know files names, and I'm not sure how to get their PIDs. For example, nasty student want to…
nullifier
  • 1
  • 1
  • 2
0
votes
1 answer

How to kill a linux child_process.spawn using javascript?

var child_process = require('child_process'); if (typeof ffmpegrec == "undefined" || ffmpegrec == null) { var ffmpegrec = ''; } if(record === "1") { ffmpegrec = child_process.spawn("ffmpeg",[ "-re", // Real time…
0
votes
2 answers

: arguments must be process or job IDs624

I make a file in my rails app /bin/restart_resque.sh kill `cat tmp/pids/scheduler.pid` When I execute bin/restart_resque.sh,I got the error : arguments must be process or job IDs624 and the process is still working. Then I change the file to…
HXH
  • 1,643
  • 4
  • 19
  • 31
0
votes
2 answers

Nodejs unable to kill external windows executable program executed by Node itself

I am hosting Node as a server locally to interact with hardware. My web application then makes a request to Node to execute 2 executable, whichever executable returns a data first will Respond it back to my Web Application. By doing so, it causes…
Manuel J
  • 59
  • 13
0
votes
2 answers

Unable to force stop an application programmatically

My app checks whether an application is running, shows its PID, and aims to kill it on a button click. I am using android.os.Process.killProcess(); but it is just on happening. When I check for it in the Running Applications section in settings, I…
user4298677