[M3devel] new problem on NT386

Randy Coleburn rcoleburn at scires.com
Wed Jan 23 09:50:10 CET 2008


As you know, I am working to finalize the new Reactor.
 
I've run into a new problem that did not exist on cm3 v5.2.6 or on cm3 v4.1, so I am hoping someone, perhaps Jay, can shed some light.
 
Reactor uses quake function calls to invoke operations like build, clean, ship, etc.  I have determined that the change directory (cd) call is not working properly.
 
Here is an example quake function used by Reactor to build a package:
 
proc build_package (pkg, options) is
  exec ("cd", pkg, "| cm3", options)
end
If I had a package "Hello" located in C:\MyPkgs\Hello, here is what the exec call looks like:  exec ("cd C:\MyPkgs\Hello | cm3")
 
What is happening is that the "cd" is ignored and "cm3" is being called in the current directory (whichever that happens to be).  Thus, the cm3.exe can't find the sources for the package.
 
I've gone back to the old v5.2.6, and this wrong behavior does not occur.  Instead, everything works as it should.  So something has changed since that point in time that is causing a problem.
 
Any ideas?
 
Regards,
Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080123/6f27a8c3/attachment-0001.html>


More information about the M3devel mailing list