Closed jojoreeves closed 3 years ago
It may not be UnrealCV actually. I tried with os
as well and I get the same issue:
import os
os.startfile(binary_path)
I was able to work around this with:
import subprocess
subprocess.Popen([binary_path])
The client connects ok now. Not sure why that is though...
if os.path.isfile(binary_path):
binary = UE4Binary(binary_path)
binary.start()
client.connect()
returns:I have double checked and the port is in use by the binary. Running
Get-Process -Id (Get-NetTCPConnection -LocalPort 9000).OwningProcess
in PowerShell says that it is in use by my packaged binary.If I launch the binary manually and bypass the UE4Binary start commands it connects ok though. Should I not be starting it this way? I pulled this from one of the examples.