6 lines
323 B
PowerShell
6 lines
323 B
PowerShell
write-Output "Attempting to start Paper test server."
|
|
$SID = Start-Process java -ArgumentList "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=25566", "-Xms512M", "-Xmx1G", "-jar", "paper.jar", "nogui" -PassThru
|
|
$SID = $SID.Id
|
|
write-Output "Process started. PID is: $SID"
|
|
|
|
$SID | Out-File -FilePath "pid.temp" |