我自己在 mac 上写了一些 shell, 但是我不想打开 terminal 来运行它们,我希望有一个 GUI, 我打开 GUI,点击我想运行的 shell,这个 shell 在后台就自动运行了, 然后把结果 pinint 到 GUI 上。
|
levelwormJan 20, 2021 via Android
1
感觉有点类似文件管理器。。。
|
|
2
你说的是 Windows 桌面上的 bat 文件。
|
|
AmrtaShivaJan 20, 2021 via iPhone
3
Go 语言可以封装个简单的 ui
shell 用 os/exec 包 运行之后把内容输出到文件再去读出来返回到 UI |
|
minamikeJan 20, 2021
4
Alfred
keyboard maestro 甚至自带的 Automator 都可以 |
|
GlobalNPCJan 20, 2021
5
Jupyter
|
|
GlobalNPCJan 20, 2021
6
utools 也可以, 提升效率的利器,推荐
|
|
gppola666Jan 20, 2021
7
打开文件夹,点击 shell 文件( shell 脚本最后加一行 read; 防止 shell 运行完直接退出),然后弹出一个 terminal 显示结果
|
|
8
我就是不想打字,想鼠标点一点。
|
|
9
找到个回答
Platypus is a developer tool for the Mac OS X operating system. It creates native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs. This is done by wrapping the script in an application bundle along with a native executable binary that runs the script. |
|
supersuJan 21, 2021 via Android
10
特地登陆一下账号,我知道一个巨牛逼的 python 框架,还亲身体验过把 python 脚本转化为 gui 应用,加我微信 Baksmali, 有偿告知和帮调代码
|
|
zzazzxJan 21, 2021
11
有偿告知和帮调试代码.....
|
|
AreymJan 21, 2021
13
utools 里面有个快捷命令插件
|