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

Kill EXEL.EXE process while using Microsoft.Office.Interop.Excel

Possible Duplicate: Killing an interop Application process I am using Microsoft.Office.Interop.Excel in order to get data from excel. Even though i clear the COM objects it still leaves some instances of EXEL.EXE in the background.Check my code…
sharmila
  • 1,493
  • 5
  • 23
  • 42
0
votes
2 answers

Terminate subprocess

I'm curious, why the code below freezes. When I kill python3 interpreter, "cat" process remains as a zombie. I expect the subprocess will be terminated before main process finished. When I send manually SIGTERM to cat /dev/zero, the process is…
Miso
  • 161
  • 2
  • 11
0
votes
3 answers

In VB.NET check for changes in a file launched with process.start()

I'm developing a vbnet/c#.NET based application that opens files with different applications(excel, word, etc). The application is launched using Dim app As Process = Process.Start(ProcessProperties) Now, when I have to terminate the process I use…
0
votes
2 answers

How to kill the cherrypy process?

I am using cherrypy in python script.I think I have to register a callback method from the main application so that i can stop cherrypy main process from a worker thread,but how do i kill the main process within the that process. So i want to know…
user1320035
0
votes
6 answers

C# Winform The process still on Windows Task list manager after close programme

why The process still on Windows Task list manager after close programme ? i use login Form.cs [STAThread] static void Main() { Application.EnableVisualStyles(); …
user609511
  • 4,091
  • 12
  • 54
  • 86
0
votes
1 answer

Kill Several Processes In VB?

I currently have the following up in VS 2010 Dim myProcess() As Process = System.Diagnostics.Process.GetProcessesByName("calc") For Each myKill As Process In myProcess myKill.Kill() However I cannot seem to get it to kill more…
Harold Giddings
  • 93
  • 1
  • 11
-1
votes
1 answer

I want to kill steam.exe and some extra steam process but I don't know how to do it in VB.NET

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim steamkill() As String = {"steamwebhelper.exe", "steam.exe", "steamservice.exe"} Dim proc For a As Integer = 0 To steamkill.Length Step 1 proc…
smsi
  • 45
  • 5
-1
votes
1 answer

How to kill Windows service process stuck at starting?

I have a problem with one service which stuck at starting stage when I try to start such service, and I am not able to terminate such process. I know that restart is a solution, but server can't be restart couple times everyday, also any additional…
majan
  • 125
  • 12
-1
votes
1 answer

How can I terminate a process and verify its not running anymore in C?

I want to fully terminate a process on Linux C89. The flow is: check if its already dead, if not, let it die peacefully using sigterm and wait 10 seconds till it dies. If its still alive - SIGKILL it. int TerminateProcessIMP(pid_t process_to_kill) {…
NoobCoder
  • 513
  • 3
  • 18
-1
votes
1 answer

How to kill 'invisible' process running on port

On a linux machine, am trying to start Glassfish server. ./startserv This returns the following message: There is a process already running using the admin port 4848 -- it is probably another instance of a Glassfish server Have tried to identify…
user1052610
  • 4,440
  • 13
  • 50
  • 101
-1
votes
1 answer

How kill process ID remotely Bash

On linux device, the following process ID runs: I'm trying to kill the process ids related to ads2 (shown in the image above) remotely (through a bash script that runs on another device). So I tried: ssh nvidia@"id-address" "kill pgrep ads2" where…
Zang322
  • 85
  • 5
-1
votes
1 answer

How to terminate/killall a program in python

The first simple answer to the Linux equivalent killall(ProgramName) The program is to be a toggle program. I can launch Firefox/program. def tolaunch(program): os.system("firefox") When launched I wish to save the name of program launched, in…
Data
  • 113
  • 2
  • 11
-1
votes
2 answers

How would I kill a process outside it's loop in a winform application?

here is my code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using…
-1
votes
3 answers

Shell script to kill a process in specific time with process name and time as input

I need a shell script to kill a particular running process after a specific time by getting the process name and time as input. I'm using centos machine i've tried the script but couldn't complete on killing the process on particular…
johnwick
  • 3
  • 2
-1
votes
1 answer

How to know a Windows Store App has terminated in C# or VB?

I know Windows Store Apps are executed in isolated mode (a sandbox). Hence I start an App (e.g. Microsoft Photos) by using IApplicationActivationManager.ActivateForFile, the image provided gets displayed and the return value of the function gives me…