atom-community / atom-community/atom-script
"The system cannot find the path specified." When running script with Shebang
未关闭
- 主要语言
- JavaScript
- 星标
- 730
- 派生
- 264
- PR 合并指标
- 30 天内没有已合并 PR
描述
When I try to run a python script with a shebang like `#!/usr/bin/env python` I get the error `The system cannot find the path specified.` When I remove the shebang the script works as normal however. Is this a problem with Atom starting in the wrong directory? I tried starting it from the command line in root but that didn't fix it.
This is also likely a problem for most scripts (I believe this occurs when running Perl scripts as well).
贡献指南
调研方向
首先,使用 `#!/usr/bin/env python` 的 Python 脚本在 atom-script 中复现该故障,然后将其与不带 shebang 的相同脚本进行比较。检查 Perl 和其他基于 shebang 的脚本是否表现出相同的行为;当受支持的脚本能够在没有路径错误的情况下成功运行时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- perl, python, shell
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100