I wanted to know if it is possible to write a script in Deadline which when executed can run a command to open another application through the command line. Thanks!
Yes, this is possible. The ProcessUtils class can help you with this:
thinkboxsoftware.com/deadlin … _Utilities
Hope that helps!
So if I were to use ProcessUtils.ExecuteShell(“notepad”) for example. Would that be the same as entering “notepad” in the cmd prompt and open notepad?
Yup, either of these would work:
ProcessUtils.SpawnProcess( "notepad.exe" )
ProcessUtils.ShellExecute( "notepad.exe" )
I use “shutdown -l” Execute Command to logoff user in all slave machine !!
is It possible to Login a user using Execute Command on the slave machines ?
all the slave machine are in a domain
I have to manually Remote Login Using RealVNC and login the user everytime i restart machine…
Thank you…
Do you have Deadline installed as a service? If not, then this isn’t possible because the Deadline Launcher is closed when you log off. The Launcher is the application that executes the remote commands.
You could configure your machines to automatically log in when they are booted up:
thinkboxsoftware.com/deadlin … e_Machines
Cheers,
- Ryan