Hello @Djonathan_Souza, please have a look at the following related post and see if it helps. It is not clear to me what your problem is.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Run a python script with command line arguments | 2 | 242 | June 12, 2024 | |
| Launch slicer from the command line with an argument to load a file | 3 | 3521 | August 1, 2017 | |
| How should I pass arguments when running Slicer in batch mode? | 1 | 897 | August 29, 2019 | |
| Not Opening a File - Called by an external python Command line | 5 | 3143 | October 3, 2018 | |
| Run python script from command line not working | 13 | 2774 | March 21, 2022 |