courseworx/stop-courseworx.bat

21 lines
No EOL
509 B
Batchfile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo.
echo ========================================
echo CourseWorx - Stopping Application
echo ========================================
echo.
echo 🔍 Looking for Node.js processes...
REM Kill all Node.js processes (this will stop both frontend and backend)
taskkill /f /im node.exe >nul 2>&1
if %errorlevel% equ 0 (
echo ✅ All Node.js processes stopped successfully
) else (
echo No Node.js processes were running
)
echo.
echo 🎉 CourseWorx has been stopped
echo.
pause