Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-01-03 10:20:06 -0800 (Wed, 03 Jan 2007)
Revision: 9900
Log message:
- (Bug 620) There was a bug handling long chains of built-in commands in the
shell - in one of the branches of the omake_eval it would create a new
subjob expression and return it as is; wait_exp/wait_exp2 would then
consider this a sign that the new subjob must be waited for - which would
then fail because the job was fully foreground in-process evaluated and
nothing was ever forked.
This was fixed by making sure the new subjob expression is evaluated
recursively instead of being returned as is right away.
- Added a bunch of debugging code (debugging Omake_shell_job is a bit of a
pain, especially since ocamldebug is not capable to handling OCaml
processes that fork).
Changes | Path |
+26 -17 | omake-branches/0.9.8.x/src/shell/omake_shell_job.ml |