[Omake] SVN Commit: OMake Build System (Rev. 11085)

Aleksey Nogin anogin at hrl.com
Mon Jun 25 09:19:20 PDT 2007


On 25.06.2007 08:31, Jason Hickey wrote:

> Strange, let me take a look. 

Thanks!

> A thought that may or may not be related,
> 
>    - Running cd does not actually issue a system call yet.
>      The directory is handled differently on Win32 and Unix
> 
>    - On Win32 the starting dir is passed to CreateProcess
>    - On Unix, the sequence is fork->chdir->exec

Jason, note that the example below is not Windows-specific...

Also, I've added tests/shell/Test1 for this (test/shell/Test1 on 
0.9.8.x) and filed it as bug 679.

>> x(foo) =
>>   cd src
>>   pwd
>>
>> Shell. +=
>>    foo(argv) =
>>       cd src
>>       pwd
>>       x(5)
>>
>> foo 10
>> x(10)

Aleksey


-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the OMake-Devel mailing list