{"action":"created","issue":{"url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/59","labels_url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/59/comments","events_url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/59/events","html_url":"https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/issues/59","id":95380212,"number":59,"title":"Deploy-Application.exe fails to run sometimes.","user":{"login":"Ken-Fitz","id":13362552,"avatar_url":"https://avatars.githubusercontent.com/u/13362552?v=3","gravatar_id":"","url":"https://api.github.com/users/Ken-Fitz","html_url":"https://github.com/Ken-Fitz","followers_url":"https://api.github.com/users/Ken-Fitz/followers","following_url":"https://api.github.com/users/Ken-Fitz/following{/other_user}","gists_url":"https://api.github.com/users/Ken-Fitz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ken-Fitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ken-Fitz/subscriptions","organizations_url":"https://api.github.com/users/Ken-Fitz/orgs","repos_url":"https://api.github.com/users/Ken-Fitz/repos","events_url":"https://api.github.com/users/Ken-Fitz/events{/privacy}","received_events_url":"https://api.github.com/users/Ken-Fitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-16T08:34:14Z","updated_at":"2015-07-16T14:49:08Z","closed_at":null,"body":"Issue: Deploy-Application.exe launches Powershell.exe only for a few seconds, no logs created.\r\n\r\nTested: Using Different previously working PS1\r\nResults: repeated attempts to launch ALLWAYS at some point does launch and runs as expected (usually 2 to 3 launch attempts, rarely 4)\r\n\r\nTested: New PS1s using new template code from zip.\r\nResults: They have same behaviour as above. \r\n\r\nVersion of kit used: 3.6.4"},"comment":{"url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/comments/121978956","html_url":"https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/issues/59#issuecomment-121978956","issue_url":"https://api.github.com/repos/PSAppDeployToolkit/PSAppDeployToolkit/issues/59","id":121978956,"user":{"login":"Ken-Fitz","id":13362552,"avatar_url":"https://avatars.githubusercontent.com/u/13362552?v=3","gravatar_id":"","url":"https://api.github.com/users/Ken-Fitz","html_url":"https://github.com/Ken-Fitz","followers_url":"https://api.github.com/users/Ken-Fitz/followers","following_url":"https://api.github.com/users/Ken-Fitz/following{/other_user}","gists_url":"https://api.github.com/users/Ken-Fitz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ken-Fitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ken-Fitz/subscriptions","organizations_url":"https://api.github.com/users/Ken-Fitz/orgs","repos_url":"https://api.github.com/users/Ken-Fitz/repos","events_url":"https://api.github.com/users/Ken-Fitz/events{/privacy}","received_events_url":"https://api.github.com/users/Ken-Fitz/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T14:49:08Z","updated_at":"2015-07-16T14:49:08Z","body":"Ok I did manage (I think) solve it.\r\nI restarted the VM and it started working OK, Al I can assume is that in some instances after prior run fails powershell gets messed up.\r\n\r\nAfter the restart so far (after about 20 or so runs) it has run 1st time.\r\nOdd behaviour never the less.\r\nNot sure what caused it to terminate PS.\r\n\r\n"}}