execvp
Having issues with execvp()
So here is the bit of my code that\'s giving me problems: void childProcessHandler(string command){ int argCounter = 0;[详细]
2023-04-09 16:51 分类:问答after fork/execvp control does not return to parent
when i run my code below and type in \"ls\" at the prompt it runs ls in the terminal but then just sits there and doesnt print my prompt again.How do I get control to go back to the parent process?[详细]
2023-04-07 22:41 分类:问答Emulating execvp - Is There a Better Way To Do This?
I\'m currently wrapping a command line tool (espeak) with Tcl/Tk, and I have figured this out so far:[详细]
2023-03-17 07:48 分类:问答getting shell command from user input and executing C program
currently working on program which recieves input command for linux shell and executing them creating child process.[详细]
2023-03-03 11:56 分类:问答execvpe argv to parameter matching syntax help needed
I get \"passing argument 2 of ‘execvp’ from incompatible pointer type\" and expected ‘char * const*’ but argument is of type ‘const char **’[详细]
2023-03-01 16:08 分类:问答insert unknown command to execvp()
hi if i开发者_运维问答\'m passing an unknown command to execvp i\'m getting this error in the errno :[详细]
2023-02-28 13:56 分类:问答How to create multiple ordered processes using fork() and execvp() in C?
I am trying to create multiple processes using fork() and execvp() calls, but so far I\'ve been unsuccessful. Here is what I am trying to do:[详细]
2023-02-11 00:41 分类:问答Building a basic shell, more specifically using execvp()
In my program I am taking user input and parsing it into a 2d char array. The array is declared as: char parsedText[10][255] = {{\"\"},{\"\"},{\"\"},{\"\"},{\"\"},[详细]
2023-02-09 00:23 分类:问答C - passing an unknown command into execvp()
I\'m writing a fake shell, where I create a child process and then call execvp(). In the normal shell, when I enter an unknown command such as \'hello\' it returns \'hello: Command not found.\' Howeve[详细]
2023-01-20 08:34 分类:问答Waiting for execvp in main
int main() { ... if(!fork()) { execvp(cmdName,cmdParam); } printf(\"In 开发者_开发知识库main()...\");[详细]
2023-01-14 03:46 分类:问答