# Trigger another pipeline from main pipeline with DETACH: false

**URL:** <https://community.codefresh.io/t/trigger-another-pipeline-from-main-pipeline-with-detach-false/885>\
**Category:** Pipeline Triggers\
**Created:** [March 15, 2023, 12:53pm UTC](https://community.codefresh.io/t/trigger-another-pipeline-from-main-pipeline-with-detach-false/885 "2023-03-15T12:53:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruwan\_Vimukthi](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/ruwan_vimukthi/32/482_2.png) [@Ruwan\_Vimukthi](https://community.codefresh.io/u/Ruwan_Vimukthi)\
**Post date:** [March 15, 2023, 12:53pm UTC](https://community.codefresh.io/t/trigger-another-pipeline-from-main-pipeline-with-detach-false/885/1 "2023-03-15T12:53:14Z")

</div>

Hi Community,

I need to trigger `E2E_TEST` pipeline from my `staging-deployment` pipeline with `codefresh-run` type. I need to use `DETACH: false` argument because I need output of `E2E_TEST` pipeline in `staging-deployment` pipeline step.

Will it double the cost of running pipelines than running with `DETACH: true` argument

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [March 17, 2023, 9:57am UTC](https://community.codefresh.io/t/trigger-another-pipeline-from-main-pipeline-with-detach-false/885/2 "2023-03-17T09:57:39Z")

</div>

I believe it does double it.

Without detach the parent pipeline is still running so it is active and still consumes resources.

I would also open a ticket with our support team so that they can validate this.

Kostis
