Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMD opens and closes.. #6

Open
Sleptix opened this issue Mar 6, 2021 · 1 comment
Open

CMD opens and closes.. #6

Sleptix opened this issue Mar 6, 2021 · 1 comment

Comments

@Sleptix
Copy link

Sleptix commented Mar 6, 2021

so i installed this, unzipped it, go to launch the cmd and it just closes as soon as it opens.. help

@Djones4822
Copy link

You execute python scripts by running python FILENAME.py within the files root directory. Double clicking the .py file itself will not launch.

Go to your start menu, type "cmd" in the search and run the "Command Prompt" application, type cd "C:\Users\Sleptix\Documents\.....\MSFS-Landing-Inspector" (update this to your actual directory of the mod), and then enter python msfs_landing_inspector.py

This will launch python and pass the msfs_landing_inspector.py file as the first argument, running the script. From there the command prompt will continue to run and you access the app by going to localhost:5000 in your browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants