atom-community / atom-community/atom-script
"The system cannot find the path specified." When running script with Shebang
- Langage dominant
- JavaScript
- Étoiles
- 730
- Forks
- 264
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire l’échec dans atom-script avec un script Python utilisant `#!/usr/bin/env python`, puis comparez-le avec le même script sans le shebang. Vérifiez si Perl et les autres scripts basés sur un shebang présentent le même comportement ; le travail est terminé lorsque les scripts pris en charge s’exécutent correctement sans l’erreur de chemin.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- perl, python, shell
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100