About the running environment for Cygwin

View: New views
2 Messages — Rating Filter:   Alert me  

About the running environment for Cygwin

by Lily Gao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
I have a question for a long time.
I have cygwin  on my computer. And when I call a windows system command in perl(perl installed in cygwin), it called in the cygwin environment.
If using perl installed in windows, it called in the windows environment.
But are there any ways to manage what environment to run it? For example, even if my perl installed in cygwin, I want one command(like 'net use') in perl file to run in windows environment?

Best Regards,
Lily
ACRD PSEB Catapult TD
+86-21-38664379
http://showroom.labs.autodesk.com/
AW2165
399 Pudian Road, Pudong New Area                                  
Shanghai 200122,                                                  
P.R.China   



Re: About the running environment for Cygwin

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov 13 01:33, Lily Gao wrote:
> Hi All,
> I have a question for a long time.
> I have cygwin  on my computer. And when I call a windows system command in perl(perl installed in cygwin), it called in the cygwin environment.
> If using perl installed in windows, it called in the windows environment.
> But are there any ways to manage what environment to run it? For example, even if my perl installed in cygwin, I want one command(like 'net use') in perl file to run in windows environment?

Wrong mailing list.  Please see http://cygwin.com/lists.html
Technical questions belong to the ML cygwin AT cygwin DOT com.


Corinna