Page 1 of 1 1
Topic Options
#153760 - 2005-12-21 04:49 PM Run As - - Calling another kix script
tylan Offline
Starting to like KiXtart

Registered: 2005-11-17
Posts: 115
Loc: Johnstown, PA
I've read all about "installing applications as admin" and I've read about Runas, Sanur, CPAU, and the likes. I understand how to call antother application, such as an exe ot bat file, but what about calling another script alltogether?

Is it OK to just call kix32 (as another user) from my main kix32 login script?

Top
#153761 - 2005-12-21 05:00 PM Re: Run As - - Calling another kix script
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4945
Loc: Leatherhead, Surrey, UK
Hmm...

You cannot "CALL" it as another user, but you can SHELL or RUN a run-as type command which will execute a new instance of KiXtart.

You need to be careful however because your environment may change, for example you may not have access to the drive mappings or even current working directory that you had in your "parent" script.

You also won't have access to any variables declared in your parent script - this will be a new and completely independant invocation of KiXtart.

Top
#153762 - 2005-12-21 05:07 PM Re: Run As - - Calling another kix script
tylan Offline
Starting to like KiXtart

Registered: 2005-11-17
Posts: 115
Loc: Johnstown, PA
Sorry, I meant Shell or Run.

I understand that it's like the original kix never ran.

I was just making sure that shell'ing to kix from within kix was ok.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 168 anonymous users online.
Newest Members
FlyHorton, mschwj, Barchester, Evgeniy, kvanacker
17498 Registered Users

Generated in 0.026 seconds in which 0.01 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org