python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Fork() and Wait() with execvp() in C
I'm am trying to use the fork method to call a different program and wait until it completes,
I tried to check what is the problem and it seems that the wait function doesn't wait to the childReturns ...
1barmoshe1
Votes: 0
Answers: 3
Can't send input to a process over a pty in C
I'm trying to run a process (/usr/bin/calc) on the master/main side, and interact with it on the slave/secondary side, but for some reason, the calc process isn't reading input from the main end of th...
unami
Votes: 0
Answers: 0
execvp() function returns -1 all the time
In my code, I'm trying to use the function execvp() to execute a command that I get in my shell but the function always returns -1 that indicates unsuccess, when I replace the function first argument...
Black Hat
Votes: 0
Answers: 1
Why would my execvp() not work in following code?
I am trying to make use of execvp() to execute child processes but it gives me following error and I am unable to fix it can someone point me in direction what I am doing wrong?
My code:
#include &quo...
tablemesa
Votes: 0
Answers: 1