tylan
(Starting to like KiXtart)
2005-12-21 04:49 PM
Run As - - Calling another kix script

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?


Richard H.Administrator
(KiX Supporter)
2005-12-21 05:00 PM
Re: Run As - - Calling another kix script

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.


tylan
(Starting to like KiXtart)
2005-12-21 05:07 PM
Re: Run As - - Calling another kix script

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.