Skip to content
Snippets Groups Projects
Commit b786bc62 authored by Wendy Nguyen's avatar Wendy Nguyen
Browse files

Edit

parent c9c9521d
Branches
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
7. What changes did you make to your parsing logic compared to the previous assignment? Were there any unexpected challenges in refactoring your old code?
> **Answer**: In this implementation, I used a simple parsing approach that splits the command line into the executable name and arguments using strtok(). The first token becomes the command name, and the rest becomes the arguments. The main challenge was making sure to properly NULL-terminate the argv array for execvp() to work correctly.
> **Answer**: In this implementation, I simply split the command line into the executable name and arguments using strtok(). The first token becomes the command name, and the rest becomes the arguments. The main challenge was making sure to properly NULL-terminate the argv array for execvp() to work correctly as well as remove surrounding white spaces.
8. For this quesiton, you need to do some research on Linux signals. You can use [this google search](https://www.google.com/search?q=Linux+signals+overview+site%3Aman7.org+OR+site%3Alinux.die.net+OR+site%3Atldp.org&oq=Linux+signals+overview+site%3Aman7.org+OR+site%3Alinux.die.net+OR+site%3Atldp.org&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzc2MGowajeoAgCwAgA&sourceid=chrome&ie=UTF-8) to get started.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment