Skip to main content

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

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?
lamcro's user avatar
  • 6,181
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 ...
Cédric Girard's user avatar
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?
mrbradleyt's user avatar
  • 2,344
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.
GHad's user avatar
  • 9,621
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.
Anthony Mastrean's user avatar
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'...
John Calsbeek's user avatar
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 ...
Allain Lalonde's user avatar
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 ...
ramayac's user avatar
  • 5,183
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 ...
jm.'s user avatar
  • 23.6k
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?
basszero's user avatar
  • 29.9k
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.
Benedikt Waldvogel's user avatar
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 ...
Andreas Thomas's user avatar
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, ...
codeLes's user avatar
  • 3,061
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 ...
Allain Lalonde's user avatar

15 30 50 per page