Saturday, January 24, 2009

[THIN] Re: have a process still running after seamless app closes

Check out a little freeware app called TSKaapop from Ctrl-Alt-Del IT Consultancy, not to be confused
with TSKaapow also available from Ctrl-Alt-Del IT Consultancy. Download it from http://www.ctrl-alt-
del.com.au/CAD_TSUtils.htm

TSKaapop is a command-line utility to run multiple applications from one
command with the further ability to close those applications simultaneously
with one action.
This utility was written to allow a single call to launch multiple applications
in their own process, ensuring that a user has access to only the applications
they require in a single seamless or desktop session.
TSKaapop with its parameters can exist as a shortcut on the desktop, can be run
in a script, or published as a single application that runs multiple
applications, each with its own process. TSKaapop will work as a Seamless
Published application in a Citrix environment. If multiple applications are
launched via TSKaapop in a Seamless environment, the session will not close
until each application has been closed or the first application called in the
command line of TSKaapop is closed. If for example, notepad.exe is launched via
TSKaapop as the first parameter, and calc.exe and excel.exe are launched as the
second and third parameters respectively, then all three applications will
launch, each as a separate process. If notepad.exe is then closed by the user,
then calc.exe and excel.exe will also terminate. If this command was presented
as a published application in Citrix or directly called from a Terminal
Services Client, then the session will also close. All applications called by
TSKaapop can be closed individually, excluding the first launched which, as
stated, will close any application called by TSKaapop.

Usage:
TSKaapop [[PATH][Application] [PATH][Application] ...] [/?]

PATH - Path to the Application
Application - Application Executable
/? - Show this help file

TSKaapop without parameters will display this help file.

NOTE: If a PATH or Application does not exist, TSKaapop will
terminate at that point. Any applications launched prior will
still be operational.

E.G. TSKaapop "c:\Program Files\Office11\EXCEL.EXE" c:\windows\system32\notepad.exe
This command will launch MS Excel and notepad one after the other.

E.G. TSKaapop "c:\Program Files\Office11\EXCEL.EXE" "c:\windows\system32\notepad.exe
h:\MyTextfile.txt"
This command will launch MS Excel and h:\MyTextfile.txt in notepad
one after the other.

This utility is FREEWARE and was written by Warren Simondson of
Ctrl-Alt-Del IT Consultancy, Australia. www.ctrl-alt-del.com.au

Although written for Terminal Server and Citrix environments, this application
will function on non-TS/Citrix workstations and servers.
This application has been tested on the following platforms:

Windows 2008 Server
Windows 2003 Server SP1
Windows 2003 Server SP1 w/ Citrix PS 4.0/ XA 5.0
Windows 2003 Server SP1 (Terminal Server Application Mode)
Windows 2000 Server SP4
Windows 2000 Server SP4 w/ Citrix MF XP
Windows 2000 Server SP4 (Terminal Server Application Mode)
Windows 2000 Server SP4 w/ Citrix MF 1.8
Windows XP Professional (domain member)
Windows Vista (domain member)

The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made
every effort possible to ensure that TSKaapop is free of any bugs or errors,
however in no way is TSKaapop to be considered error or bug free.
You assume all responsibility for any damages or lost data that may result
from any errors or bugs in TSKaapop.

IN NO EVENT WILL CTRL-ALT-DEL IT CONSULTANCY BE LIABLE TO YOU FOR ANY GENERAL,
SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR OTHER DAMAGES ARISING OUT OF
THIS PRODUCT.

--
Warren Simondson

Ctrl-Alt-Del IT Consultancy Pty Ltd
Website: http://www.ctrl-alt-del.com.au


Quoting TSguy92 Lan <tsguy92@gmail.com>:

> Afternoon listies,
>
> We have an app run in seamless mode, which is used as a starter point
> to
> ensure that a number of other applications can be started within the
> same
> memory space (same server).
>
> One of the newer applications being launched by this starter point,
> has a
> secondary EXE process spawned that drops directly down to the system
> tray.
>
> All is well and good, until the main starter application is closed.
> The
> spawned EXE's for the system tray app won't close without an end
> user
> selecting to exit them specifically.
>
> Have attempted the reg mods defined in -
> http://support.citrix.com/article/ctx891671, but that hasn't done it
> for us
> so far.
>
> I was recall some kind of third party app, "launchit"
> "launchthis"...or
> something similar which can watch spawned processes and close them
> out after
> the initially launched app closes.
>
> Not finding it in my searches, curious if anyone else is aware of a
> utility
> which will help us close out this little bugger of an exe.
>
> thanks,
>
> Lan
>

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

No comments: