fix the bug in pipeline; the builtin cmd in pipeline will also run in subprocess which will not affact main process