Top "Execve" questions

understanding requirements for execve and setting environment vars

We are having a lot of trouble interpreting our teacher. We asked for clarification and got the following back from …

c path exec execve
execve - No such file or directory?

I'm having some problems with execve. I'm trying to make a shell that can function just like the bash shell, …

c linux execve
What does execve() do?

What exactly does execve() do? I've tried looking at the documentation (http://linux.die.net/man/2/execve) but given that …

c++ c linux execve
Using execve() in c

I need to see a concrete example of how to specify the environment for execve() in a c program. In …

c linux path execve
C execve() parameters [spawn a shell example]

I have to fill the parameters for: int execve(const char *filename, char *const argv[], char *const envp[]); If I …

c shellcode execve
using a new path with execve to run ls command

I am trying to use execve to run the ls command. Currently I'm running it with the following arguments: execve(…

c path exec execve
C - Passing A Pipe thru execve

I am working on a project for school and I am not sure if the way I am trying to …

c exec pipe execve
execve() failing to launch program in C

I am trying to spawn a new process using execve() from unistd.h on Linux. I have tried passing it …

c linux assembly execute execve
Python sys.executable is empty

I am testing out doing some shenanigans with os.execve and virtual environments. I am running into the problem where …

python execve
execve("/bin/sh", 0, 0); in a pipe

I have the following example program: #include <stdio.h> int main(int argc, char ** argv){ char buf[100]; printf("…

c shell pipe freebsd execve