adding saving of folder by server name\n modifying columns order\some bugs corrected

This commit is contained in:
2023-01-28 15:41:48 +01:00
parent 295c914b12
commit fe74ab906f
5 changed files with 48 additions and 16 deletions
+2
View File
@@ -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);
}