3

I want to know when using Process.Start() whether a new thread is started? If a new thread is started, this thread, can we control it as foreground or background?

RobV
  • 28,022
  • 11
  • 77
  • 119
user496949
  • 83,087
  • 147
  • 309
  • 426
  • See this question on altering the priority of a process started using `Process.Start` - http://stackoverflow.com/questions/1374817/how-do-i-start-a-process-with-idle-priority-in-net - which may be relevant to the second part of your question – RobV Nov 23 '10 at 11:02

3 Answers3

4

A new thread is not created. A new process is (although technically speaking all processes have at least one thread).

Tim Lloyd
  • 37,954
  • 10
  • 100
  • 130
1

No additional thread is created within the current process - at least not any managed thread that would be visible to you.

Joe Albahari
  • 30,118
  • 7
  • 80
  • 91
1

Process and Thread, although related, are very different. Have a look at What is the difference between a process and a thread?

Community
  • 1
  • 1
Greg Sansom
  • 20,442
  • 6
  • 58
  • 76