Questions tagged [process]
This tag is about operating system processes. It may also refer to a specific construct on a given platform, e.g., the System.Diagnostics.Process class for .NET
process
18,321
questions
1
vote
3
answers
912
views
Alternative to 'truss -p' instruction
I am looking for a command in Unix that returns the status of a process(active, dead, sleeping, waiting for another process, etc.)
is there any available?
A shell script maybe?
0
votes
2
answers
1k
views
Why easyphp stop all apache processes on severals PC?
on some Windows PC, when I have both easyPHP and a standalone apache service configured on another network port and with a specific service name, I have a problem : when I stop easyphp, the other ...
88
votes
8
answers
94k
views
What is the best choice for .NET inter-process communication? [closed]
Should I use Named Pipes, or .NET Remoting to communicate with a running process on my machine?
30
votes
8
answers
77k
views
How to find and kill running Win-Processes from within Java?
I need a Java way to find a running Win process from which I know to name of the executable. I want to look whether it is running right now and I need a way to kill the process if I found it.
2
votes
7
answers
3k
views
What tools are there for timed batch processes in Java EE?
My employer just asked me to run a timed batch process in a Java EE WebSphere application they have running. It's supposed to run a certain class at 11:30 pm everyday.
I'm not very familiar with Java ...
0
votes
2
answers
488
views
How to tell if a process is running on a mobile device
I have the handle of process 'A' on a Pocket PC 2003 device. I need to determine if that process is still running from process 'B'. Process 'B' is written in Embedded Visual C++ 4.0.
28
votes
3
answers
14k
views
Starting a process with inherited stdin/stdout/stderr in Java 6
If I start a process via Java's ProcessBuilder class, I have full access to that process's standard in, standard out, and standard error streams as Java InputStreams and OutputStreams. However, I can'...
3
votes
3
answers
643
views
Better way of opening a Document from Java?
I've been using the following code to open Office Documents, PDF, etc. on my windows machines using Java and it's working fine, except for some reason when a filename has embedded it within it ...
111
votes
14
answers
216k
views
How to get a list of current open windows/process with Java?
Does any one know how do I get the current open windows or process of a local machine using Java?
What I'm trying to do is: list the current open task, windows or process open, like in Windows ...
72
votes
7
answers
31k
views
How do I automatically destroy child processes in Windows?
In C++ Windows app, I launch several long running child processes (currently I use CreateProcess(...) to do this.
I want the child processes to be automatically closed if my main processes crashes ...
8
votes
2
answers
1k
views
How does Google Chrome control/contain multiple processes?
How does Google Chrome command and control multiple cross platform processes and provide a shared window / rendering area?
Any insights?
14
votes
2
answers
8k
views
Handle signals in the Java Virtual Machine
Is it possible to handle POSIX signals within the Java Virtual Machine?
At least SIGINT and SIGKILL should be quite platform independent.
39
votes
9
answers
106k
views
How to check if a process is still running using Python on Linux? [duplicate]
The only nice way I've found is:
import sys
import os
try:
os.kill(int(sys.argv[1]), 0)
print "Running"
except:
print "Not running"
(Source)
But is this reliable? Does it ...
147
votes
9
answers
443k
views
Any way to write a Windows .bat file to kill processes? [closed]
Every time I turn on my company-owned development machine, I have to kill 10+ processes using the Task Manager or any other process management app just to get decent performance out of my IDE. Yes, ...
26
votes
9
answers
23k
views
Alternatives to System.exit(1)
For various reasons calling System.exit is frowned upon when writing Java Applications, so how can I notify the calling process that not everything is going according to plan?
Edit: The 1 is a ...