feat: AR-House initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# stop-streamlit.ps1
|
||||
# Mata solo el proceso python.exe que esta corriendo Streamlit.
|
||||
# Preserva otros procesos python.exe que el usuario pueda tener corriendo
|
||||
# en paralelo en otros proyectos.
|
||||
#
|
||||
# Llamado desde AR-House-Stop.vbs.
|
||||
|
||||
Get-CimInstance Win32_Process -Filter "Name='python.exe'" |
|
||||
Where-Object { $_.CommandLine -like '*streamlit*' } |
|
||||
ForEach-Object {
|
||||
Write-Host "Stopping streamlit PID $($_.ProcessId): $($_.CommandLine)"
|
||||
Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
Reference in New Issue
Block a user