Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
9975b0e7fThis file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
# Run CadOrchestrator with XVFB
xvfb-run -a --server-args='-screen 0 1024x768x24' cadorchestrator serve --production
# Capture the exit code
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
echo "Error: xvfb-run failed with exit code $EXIT_CODE"
exit $EXIT_CODE
fi