[問題] call system("指令") 如何穫得傳回值
我用call system來執行另一個程式, 但我想要寫一個判段
就是當call system失敗的時後, 能夠傳回一個值讓我後續處理~
概念有點像
ret= call system('程式')
但我怎麼試都沒法成功??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.34.190.201
→
04/24 17:32, , 1F
04/24 17:32, 1F
→
04/24 17:40, , 2F
04/24 17:40, 2F
→
04/24 17:41, , 3F
04/24 17:41, 3F
→
04/24 18:16, , 4F
04/24 18:16, 4F
→
04/24 18:16, , 5F
04/24 18:16, 5F
→
04/24 18:17, , 6F
04/24 18:17, 6F
→
04/24 18:17, , 7F
04/24 18:17, 7F
→
04/24 18:19, , 8F
04/24 18:19, 8F
→
04/24 18:19, , 9F
04/24 18:19, 9F
→
04/25 09:39, , 10F
04/25 09:39, 10F
→
04/25 09:40, , 11F
04/25 09:40, 11F
→
04/26 00:24, , 12F
04/26 00:24, 12F
Fortran 近期熱門文章
PTT數位生活區 即時熱門文章