# Tank Command - Pass-through args

**URL:** <https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545>\
**Category:** Pipeline Integrations\
**Created:** [January 21, 2022, 10:39pm UTC](https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545 "2022-01-21T22:39:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett.lambright](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@brett.lambright](https://community.shotgridsoftware.com/u/brett.lambright)\
**Post date:** [January 21, 2022, 10:39pm UTC](https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545/1 "2022-01-21T22:39:46Z")

</div>

Is there a way to pass arguments from the tank command down into the original Nuke command? Like say for example if I want change the verbosity for Nuke (temporarily), the command for Nuke would be Nuke13.0 -V 2. I was hoping this would work:

```auto
tank nuke_13.0 -V 2

```

However this fails.

```auto
  File "....../install/app_store/tk-multi-launchapp/v0.12.1/python/tk_multi_launchapp/base_launcher.py", line 138, in launch_version
    **kwargs
TypeError: _launch_callback() got multiple values for keyword argument 'software_entity'

```

I could add the arguments hardcoded in a new Software Entity but I don’t want to do that.

The tk-nuke engine adds to some important environment variables like PYTHONPATH and NUKE\_PATH to ensure the ShotGrid write nodes work correctly so I can’t just simply jump to the Nuke13.0 command.

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [January 24, 2022, 7:11am UTC](https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545/2 "2022-01-24T07:11:27Z")

</div>

I have not tried other arguments, but I am able to pass a scene path after the command, and it gets opened  
`tank Task "@123" nuke_13.0v3 "c:/Projects/scene.nk"`  
Would be nice to pass through all arguments, though.

---

<div class="post-metadata">

**Author:** ![brett.lambright](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@brett.lambright](https://community.shotgridsoftware.com/u/brett.lambright)\
**Post date:** [January 28, 2022, 10:51pm UTC](https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545/3 "2022-01-28T22:51:51Z")

</div>

I decided to fork tk-multi-launchapp to make it possible. seemed worth it. can now launch Nuke and other apps with any flags all through the tank command without creating additional software entities (don’t need “Nuke Batch” and “Nuke Batch Verbose” software entities, for example).

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [January 31, 2022, 7:59am UTC](https://community.shotgridsoftware.com/t/tank-command-pass-through-args/14545/4 "2022-01-31T07:59:35Z")

</div>

Nice, you should send a pull request [on github](https://github.com/shotgunsoftware/tk-multi-launchapp/pulls).
