» Home » Process » Page 1
Process.GetProcessById() throwing ArgumentException “ Process Not Running ” on all thread ids/process ids
by Omer72 in Programming Languages

No matter which one of these i try to use, Process.GetProcessById().ProcessName throws an exception stating ALL of the processes are not running.

[DllImport("user32.dll", SetLastError = true)]
static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId);
static extern uint GetWindowThreadPro

Prevent Process 'A' from spawning Process 'B' which then shows up on top of what should be the “TopMost” Process 'C
by soonk in Programming Languages

I have a windows form application which needs to be the TopMost. I've set my form to be the TopMost and my application works as I'd like it to except for in one case.

There is a 3rd party application (referred to as player.exe) that displays SWF movie files on a portion of the screen that popup on top of my application.

Using Process Monitor I determined that player.exe

how to allow a process created by another process, use a part of memory of the creator process?
by Steve Downing in Programming Languages

I got two console processes that second one is created by first one using the API below:

BOOL WINAPI CreateProcess(
__in_opt LPCTSTR lpApplicationName,
__inout_opt LPTSTR lpCommandLine,
__in_opt LPSECURITY_ATTRIBUTES lpProcessAttributes,
__in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
__in BOOL bInheritHandles,

Can the thread ID of a multithreaded process be the same as the process ID of another running process?
by mkmitch in Operating Systems

I'm trying to find a way to uniquely identify threads in a multi-process environment. I have a server that keeps track of the different processes connecting to it, some of which are multi-threaded and some of which are not. To identify the threads from multi-threaded connections I'm using the thread ID as a unique identifier (there will be a maximum of 1 multi-threaded process connected at an

Python inter-process communication, getting pid of an independent process (not child) started from another Python process
by Vrki in Programming Languages

I have a problem that feels like it ought to be simple. As a side-note, I'm already using the multiprocessing module, so I'm somewhat reluctant to use the subprocess module. Anyway, I have a Python program, foo.py, that starts another Python program bar.py through the os.system() function.

os.system("start python ba

Can one Process signal the event created by another process under different username(both process running under different username) ?
by Daniel in Operating Systems

Happening in Windows 7:

I have installed process proc1.exe as service.In the proc1, i am creating new process proc2.exe by creating session id and token and passing to CreateProcessAsUser().

In the Proc2, i am creating one event which is waiting for signal.
In the Proc1, am sending the signal to that event by OpenEvent and SetEvent when i stop service.


node.js process.env: assigning process.env property to undefined results in string type?
by jason166 in Web Design

The node.js process.env object seems to process property assignment differently than regular JavaScript objects. How can I get the process.env object to act like a regular object in this case?

Below is sample code illustrating the different assignment behavior. For some reason assigning undefined to a property results in a string type (only for

Powershell process from java - Process may “delay” (Not hang) on some environments
by John Tate in Java

We are creating a bunch of PoSH scripts and running them in an orderly manner from Java
(Building a process, handling all input/output streams that may cause hangups, and then invoke it using local admin privileges).

We are facing an interesting occurrence in some of our deployments.
When tracking the log file of this operation we sometime see a considerable delay. The

How can a parent process send socket/server object to child process in nodejs?
by sourceninja in Development Tools & Services
// Parent
var child = require('child_process').fork('child.js');
// Open up the server object and send the handle.
var server = require('net').createServer();
server.on('connection', function (socket) {
socket.end('handled by parent');
server.listen(1337, function() {
child.send('server', server);

ASPNET worker process stop responding when an asynch Process.Start is spawned
by dEXterz in Programming Languages

In ASPNET Page I need to spawn a Process to do some CPU heavy work (ffmpeg) . I wish:

a) send response to client without wait for process exit

b) to do something when Process is done

If I do:

Process pc = new Process();
pc.EnableRaisingEvents = true;
pc.StartInfo.UseShellExecute = false;
pc.StartInfo.WorkingDirectory = AppDir;

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .