//go:build windows package client import ( "path/filepath" "crypto-miner-agent/deploy" ) func spawnWorker(exe string) error { cmd := deploy.HiddenCommand(exe, "--run") cmd.Dir = filepath.Dir(exe) return cmd.Start() }