{"action":"opened","issue":{"url":"https://api.github.com/repos/psake/psake/issues/170","repository_url":"https://api.github.com/repos/psake/psake","labels_url":"https://api.github.com/repos/psake/psake/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/psake/psake/issues/170/comments","events_url":"https://api.github.com/repos/psake/psake/issues/170/events","html_url":"https://github.com/psake/psake/issues/170","id":149937527,"number":170,"title":"Cleanup / always run task","user":{"login":"chriskolenko","id":1318186,"avatar_url":"https://avatars.githubusercontent.com/u/1318186?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskolenko","html_url":"https://github.com/chriskolenko","followers_url":"https://api.github.com/users/chriskolenko/followers","following_url":"https://api.github.com/users/chriskolenko/following{/other_user}","gists_url":"https://api.github.com/users/chriskolenko/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskolenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskolenko/subscriptions","organizations_url":"https://api.github.com/users/chriskolenko/orgs","repos_url":"https://api.github.com/users/chriskolenko/repos","events_url":"https://api.github.com/users/chriskolenko/events{/privacy}","received_events_url":"https://api.github.com/users/chriskolenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-21T02:03:47Z","updated_at":"2016-04-21T02:03:47Z","closed_at":null,"body":"Hey everyone,\r\n\r\nI have a requirement to run background processes during my build. IE start IIS Express, start a node js process. \r\n\r\nThe problem is that I need to clean up these processes after a build has finished. Which is all good if there are no Task Failures. \r\n\r\nDoes anyone have a pattern to handle these type of requirements? Or is it best practice to start the processes outside of PSake? "}}