Answer the question
In order to leave comments, you need to log in
How to view processes from a C/C++ program?
Good evening everyone! You need to make a simple program (daemon) that will turn off minecraft (and not let you turn it back on) after the limit per day has expired. There was a difficulty that I do not know how to view processes in linux'e.
this is the only way I know of.
What are the alternatives to the above method?
system("ps -a >> file.txt")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question