Exit function with PowerShell or Command Prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2013 09:12 AM - edited 03-17-2019 03:24 PM
I notice that when JabberVideo.exe is running and I terminate the process, some issues are introduced with a subsequent launch. When I right click on the JabberVideo icon in the notification area and select Exit, no issues exist.
Does anyone know how I can run the same exit request from a PowerShell script preferrably? If not, what other command line option do you have that I can try? Thanks
- Labels:
-
Jabber
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 05:08 AM
Don't know if this helps but can give you some links on trapping exit codes upon leaving PowerShell.
From your description, it isn't clear the layers of shells you are running to understand which shell is giving you the problem. That needs to be explained (here).
http://zduck.com/2012/powershell-batch-files-exit-codes/
http://www.codeproject.com/Questions/774133/How-to-return-batch-file-exit-code-to-powershell-s
http://www.maxtblog.com/2011/09/creating-your-own-exitcode-in-powershell-and-use-it-in-ssis-package/
http://patrick.lioi.net/2011/08/18/powershell-and-calling-external-executables/
