我發送一個HTTP請求到我的web服務器,它的任務是編譯一個利用system()函數的文件。我試圖編譯這段代碼: system("gcc -o testFile testFile.c")
不過,我收到此錯誤: error trying to exec 'cc1': execvp: No such file or directory
我不是在Linux和C.任何人說的專家可以幫助解決這個問題
我正在開發一個顯示過程及其操作的系統監視工具。我能夠通過執行tasklist.exe來檢索進程列表進程ID等。這是我的嘗試。 try {
String line;
Process p = Runtime.getRuntime().exec(System.getenv("windir") + "\\system32\\" + "tasklist.exe");
Bu