By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,213 Members | 1,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,213 IT Pros & Developers. It's quick & easy.

Perl Script to transfer control from unix to windows and backwithstatusof win.process

P: 1
Hi,

I need to a solution through perlscript.

I have a unix process (ksh) running in a unix box. In the middle (of this process) there is a need to call a windows program and execute some steps and if true return value of these is true the rest of unix shell script needs to run.

Eventually a perl script will wrap this entire process.

Pls. let me know any suggestions.
Feb 1 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi,

I need to a solution through perlscript.

I have a unix process (ksh) running in a unix box. In the middle (of this process) there is a need to call a windows program and execute some steps and if true return value of these is true the rest of unix shell script needs to run.

Eventually a perl script will wrap this entire process.

Pls. let me know any suggestions.
Well, unfortunately, this is not a coding service. Instead, it is a place of learning. If you want a script then you are going to have to write it. We, on the other hand, will assist you with any road blocks or speed bumps along the way.

So, why not write some code and if you get stuck, post your code here, enclosed in the proper and necessary Code Tags. Then, we will assist you.

Regards,

Jeff
Feb 1 '08 #2

KevinADC
Expert 2.5K+
P: 4,059
Perl can run external programs and get the output of the programs. The qx// operator is for doing that type of thing. But your requirements are rather vague and has already been said, we help you, we don't do it for you. So if you have some preliminary code written lets see it.
Feb 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.