tagged [process]
How to start windows "run" dialog from C#
How to start windows "run" dialog from C# I want to start the run dialog (Windows+R) from Windows within my C# code. I assume this can be done using explorer.exe but I'm not sure how.
PHP background process
PHP background process I've wrote a php irc bot, but i need it to work in the background. With this there'd be no quits or so. What is the best way to do this? Thanks and Regards.
- Modified
- 30 Aug at 23:17
How to set a project's executable processname?
How to set a project's executable processname? I'd like to have my executable's process be called ABC. How I can do this? I tried defining my project name as ABC, but then I'll have an ABC.vshost.
c# calculate CPU usage for a specific application
c# calculate CPU usage for a specific application I'm trying to figure out how to get the CPU usage for a particular process but can only find information relating to CPU usage. Does anyone know how t...
Quick-and-dirty way to ensure only one instance of a shell script is running at a time
Quick-and-dirty way to ensure only one instance of a shell script is running at a time What's a quick-and-dirty way to make sure that only one instance of a shell script is running at a given time?
How can I start a new Process and wait until it finishes?
How can I start a new Process and wait until it finishes? I want to start a program with C# (could use `Process.Start()`). Then my program should wait until the started program is closed, before it co...
- Modified
- 4 Feb at 17:49
Ant: How to execute a command for each file in directory?
Ant: How to execute a command for each file in directory? I want to execute a command from an Ant buildfile, for each file in a directory. I am looking for a platform-independent solution. How do I do...
- Modified
- 15 Mar at 04:37
SIGHUP & SIGCONT
SIGHUP & SIGCONT Could you please explain me the logic of UNIX signal system: firstly it sends SIGHUP signal to process group and then it send SIGCONT signal in spite of the main idea of SIGHUP is "ki...
A top-like utility for monitoring CUDA activity on a GPU
A top-like utility for monitoring CUDA activity on a GPU I'm trying to monitor a process that uses CUDA and MPI, is there any way I could do this, something like the command "top" but that monitors th...
- Modified
- 20 Aug at 14:54
Start new process, without being a child of the spawning process
Start new process, without being a child of the spawning process How would I go about starting a new process without it being the child of the calling process. Example: Image: [](https://i.stack.imgur...
- Modified
- 17 Jul at 05:45
build .net solution from batch file
build .net solution from batch file I have a solution file comprising of 15 projects using a few third party dll references. I want to be able to build the solution from a batch file. What is the best...
- Modified
- 7 Oct at 19:41
Building C# solutions from command line with Visual Studio 2010
Building C# solutions from command line with Visual Studio 2010 I want to automate the build process for my C# solutions. How can I build C# solutions from the command line so that I don't have to dea...
- Modified
- 22 Sep at 22:32
Get process name from pid or handle
Get process name from pid or handle Assuming I already have the handle to a window, I can get the PID with `GetWindowThreadProcessId`. Is there a way I can get the process name without having to get a...
How can I get a process handle by its name in C++?
How can I get a process handle by its name in C++? I'm trying to get the process handle of, say example.exe, so I can call `TerminateProcess` on it. How can I do this? Notice, it doesn't have a window...
How to check if application is running
How to check if application is running I just want to check if any desired application is already running or not for eg suppose I have VLC or iTunes or any windows application then how can i figure it...
Hangfire .NET Core - Get enqueued jobs list
Hangfire .NET Core - Get enqueued jobs list Is there a method in the Hangfire API to get an enqueued job (probably by a Job id or something)? I have done some research on this, but I could not find an...
- Modified
- 10 Aug at 05:15
Changing another Process Locale
Changing another Process Locale From my own "key logger like" process I figured out that another process Locale is wrong (i.e. by sniffing few keys, I figured out that the foreground process Locale sh...
- Modified
- 21 Sep at 16:18
Multiple Output paths for a C# Project file
Multiple Output paths for a C# Project file Can I use multiple output paths. like when i build my project, the exe should generate in two different paths. If so, How can I specify in Project Propertie...
- Modified
- 25 Nov at 09:3
Ajax process from point of initiating a request to user seeing result?
Ajax process from point of initiating a request to user seeing result? I'm looking for a straight forward list(with any notable information to match the point) of the separate processes involved from ...
- Modified
- 5 May at 11:50
C# - Making a Process.Start wait until the process has start-up
C# - Making a Process.Start wait until the process has start-up I need to make sure that a process is running before moving on with a method. The statement is: Can you do a WAIT command or set a delay...
.NET Process Monitor
.NET Process Monitor Is there a way to determine when the last time a specific machine last ran a process? I can use the following to determine if a process is running, but the application cannot grab...
Wait until a process ends
Wait until a process ends I've an application which does to start another application 'ABC'. I want to wait till that application ends (process dies) and continue my execution. How can I do it? There ...
Run external application with no .exe extension
Run external application with no .exe extension I know how to run an external application in C# `System.Diagnostics.Process.Start(executableName);` but what if the application I want to run has extens...
Best way to kill application instance
Best way to kill application instance What is the best way to kill an application instance? I am aware of these three methods: 1. Application.Exit() 2. Environment.Exit(0) 3. Process.GetCurrentProcess...
How to get Command Line info for a process in PowerShell or C#
How to get Command Line info for a process in PowerShell or C# e.g: if I run `notepad.exe c:\autoexec.bat`, How can I get `c:\autoexec.bat` in `Get-Process notepad` in PowerShell? Or how can I get `c:...
- Modified
- 30 Jan at 12:40