Created
June 10, 2021 07:57
-
-
Save souhaiebtar/129b50cfa6926e6a481f4c448a59ccab to your computer and use it in GitHub Desktop.
[PowerShell start exe file in background] powershell start exe file in background #windows #powershell #background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start-job -name mysqlServer { C:\Users\starhouni\Documents\APPS\mysql-5.7.32-winx64\bin\mysqld.exe --defaults-file=C:\Users\starhouni\Documents\APPS\mysql-5.7.32-winx64\my.ini --log_syslog=0 } | |
Start-Job -name phpApp { C:\Users\starhouni\Documents\APPS\xampp\php\php.exe -S 127.0.0.1:8081 -t C:\Users\starhouni\Documents\APPS\xampp\htdocs\copperfield > $null 2>&1 } | |
# https://stackoverflow.com/questions/185575/powershell-equivalent-of-bash-ampersand-for-forking-running-background-proce | |
# https://devblogs.microsoft.com/scripting/clean-up-your-powershell-history-to-remove-error-entries/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment