Category "process"

How to know the process id of current bash session? [duplicate]

I'm on a linux server and admin user. There're many admin users using this machine at the same time. So under current bash command line, how t

launch an exe/process with stdin stdout and stderr?

With C++ how do i launch an exe/process with stdin stdout and stderr? I know how to do this in .NET and i remember using popen in the past but popen seems to al

How to get the error message of a Process?

For vsinstr -coverage hello.exe, I can use the C# code as follows. Process p = new Process(); StringBuilder sb = new StringBuilder("/COVERAGE "); sb.Append("

How to stop process from .BAT file?

So I have process I started from one bat file. How to stop it from another?

How to stop process from .BAT file?

So I have process I started from one bat file. How to stop it from another?