Started work with being able to execute commands, the only part left is to make sure that the thing we have is actually executable. I used something from 351, pretty proud of myself.
Added checking if a file is executable and did some minor refactoring.
This includes my test executable file that I made, you may have to go in and chmod the file and make sure you have execution rights for it when running it
Another thing to be aware of is that you will need to change char *teststr to be the full directory of where you have xshell saved on your computer
Added in some extra prints to see what is going on. Currently, it is executable but we don't make it down the path enough to see if we find it.
Finished the execute cmd file including a test that worked for my setup. To get it up and running on yours, you simply need to change the directory passed in in the main to wherever you have all of your xshell files saved.
dynamically mallocing memory based on path and command. Also created the ability to run things in the background
fixing up test file to match what we are doing
fixed coding to make sure to check if it is executable before continuing and if it isnt then we stop
Merge remote-tracking branch 'origin/process-management-CRUD' into Jkenney94
added in the discussed changes
pretty sure this was suppose to be a pointer...
kinda need the pid from fork before I create a process...
added in an error flag
fixed a bug
Moved testing into the corresponding folder
compiled
error checking
Fixed some errors
removed a random print statement
Getting ready to make the transition over to using Christian's work
Merge branch 'master' into Jkenney94