Reputation: 707
I'm looking to start a tortoiseSVN update as a background process but I'm having no luck
Start-Job tortoiseproc -ArgumentList "/command:update /path:C:\MyDir /closeonend:2;"
Any ideas?
Upvotes: 2
Views: 1717
Reputation: 126932
I don't have tortoiseSVN installed but it looks like you're missing the main scriptbloc of the job. Does this work?
Start-Job { tortoiseproc $args} -ArgumentList "/command:update /path:C:\MyDir /closeonend:2"
Upvotes: 1