[Bug 28320] Echo context not restored properly when executing external cmd scripts without CALL