Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 16-04-2015 , 05:44 PM
Registered User
Join Date: Dec 2007
Posts: 1

how to execute a external text file

hello everybody.
i'd like open and execute a external text file (wrotten with the fopen command).

$FileName = ( `internalVar -userTmpDir` + "tmp.txt" );
$fileId=`fopen $FileName "w"`;
fwrite $fileId "select -r nurbsTorus1 \;";
fclose $fileId;


however i don't know call back the file "tmp.txt" to execute it.
can you help me ?

# 2 17-04-2015 , 06:02 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988


Imagination is more important than knowledge.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads