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