# print in terminal when using pvbatch

**URL:** https://discourse.paraview.org/t/print-in-terminal-when-using-pvbatch/12933
**Category:** ParaView Support
**Created:** [September 26, 2023, 10:41am UTC](https://discourse.paraview.org/t/print-in-terminal-when-using-pvbatch/12933 "2023-09-26T10:41:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![otaolafr](https://discourse.paraview.org/user_avatar/discourse.paraview.org/otaolafr/32/3595_2.png) [@otaolafr](https://discourse.paraview.org/u/otaolafr)
#### Post date: [September 26, 2023, 10:41am UTC](https://discourse.paraview.org/t/print-in-terminal-when-using-pvbatch/12933/1 "2023-09-26T10:41:12Z")

</div>

Hello,  
I am looking to print some info when I run the paraview script in pvbatch from the terminal (WSL in windows if it matters using paraview windows).  
eventhought I have print statements in the script I failed to make them show in the terminal while being run using pvbatch.  
I tried adding the flush=True in case that it was an issue of flushing the data without luck.  
in any case that it is useful I am running the following lines from inside a .sh script (so ./script.sh in the wsl terminal)

```auto
pvbatchPathWindows='/mnt/c/Program\ Files/ParaView\ 5.11.1/bin/pvbatch.exe'
paraviewScript=traceParaview.py
eval $pvbatchPathWindows ./$paraviewScript

```

I am getting some vtk warnings printed (nothing important) and the script runs correctly, only that it does not print anything in the terminal.  
any solution for this?
