Jump to content

accessing chs in system() call


kni8_2k

Recommended Posts

Hi there,

I am trying to run some system commands on my mantra Rop during the pre-render scripts.

I wanted to embed the name of the file that is being written out in to some system command that runs an operation on the file. ie: we have version controlling of files, and I would like to have the checkout/editing of that file be automatically handled by the rop.

but I cannot get it to do the run the command properly. I think its the way I'm trying to reference the channel which has the name in it.

`system("cmd /c vesionControler.exe edit chs('/out/Render/vm_picture')")`

when I replace the chs with the full expanded path of the file it works, but I can't access the parameter live.

and I guess the mistake I'm making is probably sooo simple that I can't find any documentation about the correct syntax for accessing parameters from with in strings.

any help would be appreciated.

Thank you.

Ali.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...