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

A process is an instance of a computer program being executed. Many operating systems let multiple processes run concurrently. The operating system takes care of isolating processes one from another in order to provide data integrity and also provides means for interprocess communication (IPC).

Process contains the program code and its current activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently.

A computer program is a passive collection of instructions; a process is the actual execution of those instructions. Several processes may be associated with the same program; for example, opening up several instances of the same program often means more than one process is being executed.

For security and reliability reasons most modern operating systems prevent direct communication between independent processes, providing strictly mediated and controlled inter-process communication functionality.

Resources

Process - Wikipedia

Processes and threads in Windows

What is a process in UNIX / Linux?

18168 questions
6
votes
4 answers

Process.Start url with hidden WindowStyle

I have a url that authenticates my credentials on a server. Is there a way to make it invisible? The simple code looks exactly like this: public void DoAuth() { String uri = GetUri(); ProcessStartInfo startInfo = new…
John P.
  • 1,199
  • 2
  • 10
  • 33
6
votes
9 answers

Should we be tracking defects in things other than code?

At various times in my career I have encouraged staff I worked with and/or managed to track defects in artifacts of the development process other than source code (i.e. requirements, tests, design). Each time the request has been met with…
Jim Blizard
  • 4,255
  • 28
  • 37
6
votes
6 answers

How to kill a process with 'kill' combined with 'grep'

I'd like to kill a process/script with a simple command using. At the moment I do the following ps -ef | grep myscriptname kill 123456 But is there a way to maybe combine the 2 command together so I don't need to look and manually write the pid,…
Edito
  • 3,030
  • 13
  • 35
  • 67
6
votes
2 answers

Check if unix pipe closed without writing anything?

Basically I have a parent process that forks a child and feeds it it's stdin through a pipe. The child process can terminate in one of two cases: the write end of the pipe is closed by the parent, meaning it reached the end of stdin thus receiving…
nikitautiu
  • 951
  • 1
  • 14
  • 28
6
votes
1 answer

python program that blocks takes 6% of CPU?

I have a program that uses this library basically does something very simple, like this receiver = multicast.MulticastUDPReceiver ("192.168.0.2", symbolMCIPAddrStr, symbolMCPort ) while True: print 'Spinning' try: …
Ivan
  • 7,448
  • 14
  • 69
  • 134
6
votes
1 answer

How to replace --cpus-per-proc with --map-by in OpenMPI

I need to update some old codes to work with the most recent version of OpenMPI, but I'm very confused by the new --map-by system. In particular, I'm not sure how to replace --cpus-per-proc N. Several websites have suggested using --map-by…
Kat S.
  • 63
  • 4
6
votes
2 answers

How do I run a python script using an already running blender?

Normally, I would use "blender -P script.py" to run a python script. In this case, a new blender process is started to execute the script. What I am trying to do now is to run a script using a blender process that is already running, instead of…
Igor Almeida
  • 194
  • 14
6
votes
3 answers

How to capture the standard output/error of a Process?

How does one capture the standard output/error of a process started by a Process.Start() to a string?
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
6
votes
1 answer

Process is in interruptible sleep - how to find out what it is waiting for

I have an daemon running on Debain on Arm. Sometimes this daemon hangs/is not responding anymore. When looking at the process with "ps ax" the stat column is "Dl" which means "uninterruptible sleep (usually IO)". Is it possible to find out more…
ElkeAusBerlin
  • 565
  • 1
  • 4
  • 18
6
votes
3 answers

Setting up team and development processes

Based upon your experience If you was given the opportunity to set up the development processes for a small development team. Please detail The things you would implement, tools, documents, methodology. And how you would implement these? I wish to…
Darknight
  • 2,460
  • 2
  • 22
  • 26
6
votes
2 answers

Why Erlang process creation and message passing time less than java and C#

I was searching about process model of Erlang over internet and found out some graphs slides 3-4 in one of the talk given by Joe Armstrong. They shows a lot of difference between process creation and message passing time between Erlang , java and…
Dinesh
  • 706
  • 7
  • 24
6
votes
2 answers

Visual Studio 2015 another installation in progress

I am trying to install Visual Studio 2015 COmmunity Edition I am at ~98% of the installation, now the program tells me: another installation is in progress, try it later... I do not know how to solve this issue. And I actually do not want to…
John Does Legacy
  • 1,441
  • 6
  • 23
  • 33
6
votes
7 answers

prevent a c# application from running more than one instance

I wrote a program in c# now I would like to know what is the proper way to prevent the program from starting if it is already running? so if it is already running, and double-click on the program it will not start because it is already running. I…
Data-Base
  • 8,418
  • 36
  • 74
  • 98
6
votes
2 answers

Share futex between unrelated processes

How can unrelated processes cooperate using a futex? Let's say I have unrelated processes, one being, say, an apache subprocess with my module, another being e.g. a background script. I'd like to establish a condition variable with a mutex between…
Dima Tisnek
  • 11,241
  • 4
  • 68
  • 120
6
votes
3 answers

Pipes and processes

Premise: Write a program to query the user for two input strings. Each input string should be a unix command, with arguments allowed. For example, input 1 could be ls -l and input 2 could be more. The program will then create a pipe, and two child…
rybosome
  • 5,046
  • 7
  • 44
  • 64