Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

run vm in bg

Dillon DuPontd11315306197
diff --git a/scripts/playground.sh b/scripts/playground.sh
index 6614bbb0b9..b7de51bb60 100755
--- a/scripts/playground.sh
+++ b/scripts/playground.sh
@@ -129,14 +129,17 @@ echo "πŸ” Checking if the macOS CUA VM is running..."
VM_RUNNING=$(lume ls | grep "macos-sequoia-cua" | grep "running" || echo "")
if [ -z "$VM_RUNNING" ]; then
- echo "πŸš€ Starting the macOS CUA VM..."
- lume start macos-sequoia-cua:latest
+ echo "πŸš€ Starting the macOS CUA VM in the background..."
+ lume run macos-sequoia-cua:latest &
+ # Wait a moment for the VM to initialize
+ sleep 5
echo "βœ… VM started successfully."
else
echo "βœ… macOS CUA VM is already running."
fi
# Ask if the user wants to start the demo now
+echo
read -p "Would you like to start the CUA playground now? (y/n) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then