Skip to content

Add script to start server in background - #1

Closed
PranshulSoni wants to merge 1 commit into
mainfrom
add-start-server-script
Closed

Add script to start server in background#1
PranshulSoni wants to merge 1 commit into
mainfrom
add-start-server-script

Conversation

@PranshulSoni

Copy link
Copy Markdown
Owner

Adds a start_server.bat file to allow running the server as a detached background process on Windows.

Copilot AI review requested due to automatic review settings July 16, 2026 06:03
@PranshulSoni
PranshulSoni deleted the add-start-server-script branch July 16, 2026 06:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Windows batch script under the Python SDK intended to start a “server” as a detached/background process.

Changes:

  • Introduces sdks/python/start_server.bat with a PowerShell Start-Process invocation to run a command hidden/in-background.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +10
@echo off
:: Option 1: Run in a separate visible window
:: The empty quotes "" give the new window a blank title.
:: start "" "python" "main.py"

:: Option 2: Run completely hidden in the background using PowerShell
:: Replace 'python' with your command and 'main.py' with your arguments.
powershell.exe -WindowStyle Hidden -Command "Start-Process -WindowStyle Hidden 'python' -ArgumentList 'main.py'"

echo Server started in the background! You can now close this terminal.
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

Successfully merging this pull request may close these issues.

2 participants