Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Lab to have a program startup other programs (processes as they are called in the O.S.). Spawning Child Processes: Requirements 1. Processes are what the

Lab to have a program startup other programs (processes as they are called in the O.S.).

Spawning Child Processes:

Requirements 1. Processes are what the operating system calls a program. 2. Write a program that will Start two other processes. 3. The two programs that get executed as child processes, can be any programs. I suggest you execute two system processes, such as Notepad, Calculator or Wordpad. However, you can demonstrate that any two processes are started. It can even be an EXE that you wrote. 4. When starting a process, a path may be required. 5. Your program shall check the status to ensure the processes started. If they did not start, display an appropriate error message to the user (monitor). 6. If the two processes start successfully, your program shall go into a wait state. Stay suspended until both child processes exit. 7. When a child process ends, display a message stating so. 8. When both child processes send, your parent program can get out of the suspended state, display a message stating that, and exit itself.

Deliverables Upload your source code to the corresponding assignment. Use any programming language, and any IDE (preferably C language and pelles C). The programming style used to develop you program shall meet the following standards: o Comment header at top stating a description about the project. o Source code is laid out in an easy-to-follow coding style. o Use comment to describe critical/complicate block of instructions.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions