options: add support for recursive replacements
minor: testing fix for potential deadlock in subprocess executing.