• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 219
  • Last Modified:

Shell Creation

Hi experts,
I need a program that uses fork() and execve() to create a new process given a user input. There are a few restrictions:

- the process is forked
- the parent process will wait for the child to finish
- the child process loads a new program specified by the user input
0
momonja
Asked:
momonja
1 Solution
 
evilrixSenior Software Engineer (Avast)Commented:
Homework assignment?
0
 
Infinity08Commented:
Here's all the info you need :

        http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html

;)
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now