I've tried this and also seems to work:
$pathToArtisan = 'C:\xampp\htdocs\k24'; echo exec("cd $pathToArtisan && php artisan dusk");