Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Spawn a netcat server: `nc -l 8080`
- 2. Run the parent: `ruby parent.rb`
- 3. Spawn a child: `start`
- 4. Look at the output.
- 5. Kill the child: `stop`
- 6. Change `happy` to `sad` in `child.rb`
- 7. Spawn new child: `start`
Add Comment
Please, Sign In to add comment