Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Eclipse 中运行 .sh 文件而不是可执行文件?
我需要使用特殊命令启动可执行文件。我的 sh 文件看起来像这样optirun ./executable
optirun ./executable
您需要通过将 shell 与脚本示例一起传递来做到这一点: optirun sh ./executable
optirun sh ./executable