我在運行配置中使用try add參數。如何在Intellij IDEA參數中使用通配符
我加master sequential pg-*.txt
。但是當我開始跑步。錯誤出來了。
/usr/local/go/bin/go run /home/asus/dev/6.824/src/main/wc.go master sequential pg-*.txt
master: Starting Map/Reduce task wcseq
panic: open pg-*.txt: no such file or directory
但我在終端中使用的命令是OK的。
~/dev/6.824/src/main$ /usr/local/go/bin/go run /home/asus/dev/6.824/src/main/wc.go master sequential pg-*.txt
master: Starting Map/Reduce task wcseq
Merge: read mrtmp.wcseq-res-0
Merge: read mrtmp.wcseq-res-1
Merge: read mrtmp.wcseq-res-2
master: Map/Reduce task completed
我認爲問題是通配符。所以如何在Intellij IDEA參數中使用通配符?