Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
LMH molconn.com> writes: > > It seems like a cross compiled c app to launch your child process would > be more portable, but I will look at the perl more closely later. I'm > off to the dentist for now, fun, fun, fun. > Well, on a different machine, I installed cygwin fresh, including the min

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
Larry Hall (Cygwin cygwin.com> writes: > > On 9/15/2011 1:28 PM, Ted Byers wrote: > > LMH molconn.com> writes: > > > > > What, exactly, does '-mno-cygwin' do? > > > > BTW: With gcc v 4.5.3, using 'G++ -mno-cygwin' followed by

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
LMH molconn.com> writes: > > I am a bit confused as to the role of perl here. Hi LMH Thanks I have an installation of Apache's httpd server; directly from the Apache website, not the one available through cygwin (in fact, there'd be no point since that apache install is on a different machine

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
Thanks Marco and Andrew I have actually been using Perl's back ticks and system (and not so much exec) for years, using Activestate perl, but this is the first time I tried to use them to run a program compiled using gcc within cygwin when I am running a perl program from Windows CMD console.

How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-14 Thread Ted Byers
The program run, and works, but ... I have a perl program running from a WIndows CMD shell, that needs to somehow run it in bash (with my usual environment when I run the bash shell) If I run bash, I invoke my program my program using './qlt' followed by almost a dozen commandline arguments. I