adding saving of folder by server name\n modifying columns order\some bugs corrected
This commit is contained in:
@@ -81,6 +81,8 @@ FILE * popen2(array<string,8> argv, string type, int & pid)
|
||||
}
|
||||
|
||||
setpgid(child_pid, child_pid); //Needed so negative PIDs can kill children of /bin/sh
|
||||
//TODO : change for execvp
|
||||
|
||||
if (execlp(argv[0].c_str(), argv[0].c_str(), argv[1].c_str(), argv[2].c_str(), argv[3].c_str(), argv[4].c_str(), argv[5].c_str(), NULL ) == -1)
|
||||
exit (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user