Skip to content

Forum

run-me.bat -- propo...
 
Notifications
Clear all

run-me.bat -- proposed changes

2 Posts
2 Users
2 Likes
45 Views
SSAdvisor
(@ssadvisor)
Posts: 38
Trusted Member
Points: 105
Topic starter
 

I don't have Windows or MAC environments to test with but these changes work for Linux.

Here is the script as I've envisioned it.

run-me.bat

: # To execute on Linux or MAC open a command window
: # $SHELL run-me.bat
: #
: # To execute on Windows open a command windows
: # run-me
:<<"::IGNOREONNIX"
@echooff
::IGNOREONNIX
echo Installing necessary Python modules...
pip install -r requirements.txt
echo Running Python script...
python3 app.py

:;read -n1 -r -p 'Press any key to continue...'
:;exit
pause
 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
https://linktr.ee/earnieboyd/

 
Posted : 26/05/2023 2:43 am
(@admin)
Posts: 50
Member Admin
Premium Member
Points: 107
 

Thanks for sharing

 
Posted : 27/05/2023 6:40 am
SSAdvisor reacted
Share:
Take Your Digital Marketing Skills To The Next Level

© 2023 LearnWithHasan | All Rights Reserved.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.