N
Nano
Foren As
Hi,
ich möchte gerne in Prozess 1 den returnwert von system(command) im Prozess 2 abfragen, habe allerdings keine ahnung wie das möglich ist, hat jemand eine idee / ansatz ?
P2 :
ich möchte gerne in Prozess 1 den returnwert von system(command) im Prozess 2 abfragen, habe allerdings keine ahnung wie das möglich ist, hat jemand eine idee / ansatz ?
P2 :
Code:
//Kindprozess
if(pid==0){
int a;
a = system(command);
}