Does the generic command server use licences?

   1261   1   2
User Avatar
150 posts
Joined: Feb. 2009
I’m wondering if the generic server will require a licence of any kind, or if it can be used to execute pure python / shell commands on another node without a licence cost.

I’m thinking that this might be a means to get around the current latency we experience in submitting large numbers of shell commands to the deadline scheduler. I’d like to use it to execute sequential upload and download operations to cloud storage via shell commands / python commands, hopefully avoiding any licence usage.

Also, I couldn’t see any examples of the generic server being able to execute basic shell commands. Must it use python or is this somehow possible?

Thanks if you could let me know! []
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
User Avatar
603 posts
Joined: Sept. 2016
Generic Server need not use a license - it's designed to run any kind of server that can host an RPC interface to be used by the sendcommand node.

Also it doesn't need to execute python, it's up to the server to execute the script that is sent. For example the maya server can execute MEL code as well as python code inside Maya.

We don't have any examples of such a custom server to direct you to unfortunately, the easy way would be to subclass pdgjob.genericrpc.GenericPythonHandlerAPI, as is done in pdgjob.mayarpc.
Edited by chrisgreb - Aug. 2, 2019 16:51:12
  • Quick Links