[M3devel] new problem on NT386

Olaf Wagner wagner at elegosoft.com
Wed Jan 23 12:39:37 CET 2008


Quoting Randy Coleburn <rcoleburn at scires.com>:

> OK, scratch what I said in my prior message about the "cd" not   
> working.  I ran some more tests and I'm not sure anymore.
>
> Jay, what has changed in the way quake, cm3, and cm3.cfg interact   
> since v5.2.6?
>
> What I am seeing is that when Reactor is built using the current   
> cm3, the output that should be going to the web browser is instead   
> going to the console log.  This is strange.  The same exact code   
> compiled under 5.2.6 works correctly (output goes to browser).
>
> Also, there are some strange differences in the output and the   
> results are different.  Not only are the results different, they are  
>  wrong under the new system, while they are correct under 5.2.6.    
> Indeed, the build operation on the new system does not even find the  
>  correct package.
>
> Reactor is written in Modula-3, but it does use some quake helper   
> functions.  Here are the quake sources that Reactor is using for the  
>  clean and build procedures:
>
> proc clean_package (pkg) is
>  exec ("cd", pkg, "| cm3 -verbose -clean")
> end
> proc build_package (pkg, options) is
>  exec ("cd", pkg, "| cm3 -verbose", options)
> end
> As you can see, I've turned on the -verbose cm3 option to make the   
> differences clear.

I don't understand these: | is the pipe symbol even for cmd.exe, isn't
it?

Shouldn't these commands just read `cd pkg && cm3 -verbose ...'?

&& should work for /bin/sh as well as for cme.exe, IIRC.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list