mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-09 12:17:24 -04:00
Compare commits
1 Commits
v0.4.2-alp
...
v0.4.2-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| 0eb5fcc940 |
@@ -78,10 +78,11 @@ class MCPServiceManager:
|
|||||||
env['PYTHONPATH'] = str(Path.cwd())
|
env['PYTHONPATH'] = str(Path.cwd())
|
||||||
|
|
||||||
# Start service process (output goes to Docker logs)
|
# Start service process (output goes to Docker logs)
|
||||||
|
# Enable stdout/stderr for debugging (previously sent to DEVNULL)
|
||||||
process = subprocess.Popen(
|
process = subprocess.Popen(
|
||||||
[sys.executable, str(script_path)],
|
[sys.executable, str(script_path)],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=sys.stdout, # Redirect to main process stdout
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=sys.stderr, # Redirect to main process stderr
|
||||||
cwd=Path.cwd(), # Use current working directory (/app)
|
cwd=Path.cwd(), # Use current working directory (/app)
|
||||||
env=env # Pass environment with PYTHONPATH
|
env=env # Pass environment with PYTHONPATH
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user