atom-community / atom-community/atom-script

"The system cannot find the path specified." When running script with Shebang

Abierto
#421 9 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
730
Forks
264
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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).

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo el fallo en atom-script con un script de Python usando `#!/usr/bin/env python` y compáralo después con el mismo script sin el shebang. Comprueba si Perl y otros scripts basados en shebang muestran el mismo comportamiento; se considera terminado cuando los scripts compatibles se ejecutan correctamente sin el error de ruta.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
perl, python, shell
Área
tooling
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.