#605: Simfactory does not find the right 'path' for symlinked cactus directories -------------------------+-------------------------------------------------- Reporter: knarf | Owner: eschnett Type: defect | Status: review Priority: minor | Milestone: ET_2011_10 Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by barry.wardell):
Replying to [comment:4 eschnett]:
Simfactory doesn't really use "chdir". There are a few chdir commands
surrounding calls to external programs (e.g. before calling the runscript), and these should probably be replaced by explicit "cd" commands in the executed commands.
That is, constructs such as {{{ orig = os.getcwd() chdir (somewhere) system "do-something" chdir (orig) }}} should be replaced by {{{ system "cd somewhere && do-somethig" }}} which are shorter, and where there is no chdir involved.
In these cases, would it not be better to just use the cwd option to popen()?