# How to suppress #Progress from c++ CLI

**URL:** <https://discourse.slicer.org/t/how-to-suppress-progress-from-c-cli/2504>\
**Category:** Support\
**Created:** [April 3, 2018, 4:11pm UTC](https://discourse.slicer.org/t/how-to-suppress-progress-from-c-cli/2504 "2018-04-03T16:11:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayarre](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kayarre/32/3606_2.png) [@kayarre](https://discourse.slicer.org/u/kayarre)\
**Post date:** [April 3, 2018, 4:11pm UTC](https://discourse.slicer.org/t/how-to-suppress-progress-from-c-cli/2504/1 "2018-04-03T16:11:15Z")

</div>

when runnning a command from c++ CLI, how can you suppress the #Progress: 0 meter?  
I can redirect to a file on linux, but I was curious if there a better way to deal with it?

example command,

"N4ITKBiasFieldCorrection MRA.nrrd MRA\_BIAS.nrrd

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 4, 2018, 6:30am UTC](https://discourse.slicer.org/t/how-to-suppress-progress-from-c-cli/2504/2 "2018-04-04T06:30:13Z")

</div>

You can call SetQuiet on the plugin watcher to reduce progress output. However, probably redirection to file is simpler - it works on Windows and Mac essentially the same way.
