• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wellhome
V2EX  ›  程序员

有没有这样一种工具或者框架可以通过 GUI 来运行一些脚本

  •  
  •   wellhome · Jan 20, 2021 · 3282 views
    This topic created in 2116 days ago, the information mentioned may be changed or developed.
    我自己在 mac 上写了一些 shell, 但是我不想打开 terminal 来运行它们,我希望有一个 GUI, 我打开 GUI,点击我想运行的 shell,这个 shell 在后台就自动运行了, 然后把结果 pinint 到 GUI 上。
    Supplement 1  ·  Jan 20, 2021
    就是懒的打字,所以想用鼠标点点。
    Supplement 2  ·  Jan 20, 2021
    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.
    13 replies  •  2021-01-21 17:48:55 +08:00
    levelworm
    levelworm
    Jan 20, 2021 via Android
    1
    感觉有点类似文件管理器。。。
    felixcode
    felixcode
    PRO
    Jan 20, 2021
    2
    你说的是 Windows 桌面上的 bat 文件。
    AmrtaShiva
    AmrtaShiva
    Jan 20, 2021 via iPhone
    3
    Go 语言可以封装个简单的 ui
    shell 用 os/exec 包 运行之后把内容输出到文件再去读出来返回到 UI
    minamike
    minamike
    Jan 20, 2021
    4
    Alfred
    keyboard maestro
    甚至自带的 Automator 都可以
    GlobalNPC
    GlobalNPC
    Jan 20, 2021
    5
    Jupyter
    GlobalNPC
    GlobalNPC
    Jan 20, 2021
    6
    utools 也可以, 提升效率的利器,推荐
    gppola666
    gppola666
    Jan 20, 2021
    7
    打开文件夹,点击 shell 文件( shell 脚本最后加一行 read; 防止 shell 运行完直接退出),然后弹出一个 terminal 显示结果
    wellhome
    wellhome
    OP
    Jan 20, 2021 via iPhone
    8
    我就是不想打字,想鼠标点一点。
    wellhome
    wellhome
    OP
    Jan 20, 2021 via iPhone
    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.
    supersu
    supersu
    Jan 21, 2021 via Android
    10
    特地登陆一下账号,我知道一个巨牛逼的 python 框架,还亲身体验过把 python 脚本转化为 gui 应用,加我微信 Baksmali, 有偿告知和帮调代码
    zzazzx
    zzazzx
    Jan 21, 2021
    11
    有偿告知和帮调试代码.....
    wellhome
    wellhome
    OP
    Jan 21, 2021 via iPhone
    12
    @supersu 我谢谢你哦
    Areym
    Areym
    Jan 21, 2021
    13
    utools 里面有个快捷命令插件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1642 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 04:59 · PVG 12:59 · LAX 20:59 · JFK 23:59
    ♥ Do have faith in what you're doing.