看板 Python 關於我們 聯絡資訊
最近在寫一 .cgi 程式 在呼叫shell command的時候碰到了一個問題 subprocess.call(['rm', '/home/yhh241/.ratings/'+user+'/'+items+'/'+delete],shell=True) 當我使用rm的時候會無法刪除我想刪的東西.. chmod都用到 777了 所以應該不會是權限的問題吧? 我把字串全都print出來 貼到unix去執行就OK 請問這是碰到了什麼問題呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 207.237.48.148