0

What's is the most efficient way to get process id of process by name using c++ code. I know, I can execute ps -a | grep "proces-name" to do it , is there better way to do it.

CleanCoder540
  • 57
  • 1
  • 8

0 Answers0