[英]Pycharm: How to open a Python console with a program
When I open a python console, pycharm executes the following in a terminal:当我打开 python 控制台时,pycharm 在终端中执行以下操作:
/Some/Path/python3.7 /Path/To/Some/Script/Like/pydevconsole.py --mode=client --port=34215
How can I edit this to get it to run with a program like vglrun , so that it looks like:如何编辑它以使其与vglrun之类的程序一起运行,使其看起来像:
/opt/VirtualGL/bin/vglrun /Some/Path/python3.7 /Path/To/Some/Script/Like/pydevconsole.py --mode=client --port=34215
Sergey Karpov from JetBrains "You can't. It is possible to customize Starting script in File | Settings | Build, Execution, Deployment | Console | Python Console, but not possible to use another executable."来自 JetBrains 的 Sergey Karpov “你不能。可以在文件 | 设置 | 构建、执行、部署 | 控制台 | Python 控制台中自定义启动脚本,但不能使用其他可执行文件。”
But running vlgrun with pycharm does actually the trick for me.但是用 pycharm 运行 vlgrun 实际上对我来说是诀窍。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.