Fixed process test cmd gets expanded too soon