Page 1 of 1

opensim-cmd

Posted: Tue Mar 17, 2020 4:17 pm
by kernalnet
Dear Experts,

I want the log file to be saved after running each OpenSim tool in cmd.
The code contains the directory of the log file (IK.log)
But this error appears:
Unexpected argument
After eliminating the log directory, the results will be saved without the log file.

I wonder if you would tell me how to save log files.

Kindly Regards

Re: opensim-cmd

Posted: Thu Mar 19, 2020 8:49 am
by aymanh
Hello,

Can you include your command line here so we can reproduce?

Thanks,
-Ayman

Re: opensim-cmd

Posted: Thu Mar 19, 2020 9:19 am
by kernalnet
Hi Aymen,

Pleased to see your response,
This is the code:
opensim-cmd run-tool C:\Users\MohammadReza\Desktop\Rajagopal\Setup_CMC.xml C:\Users\MohammadReza\Desktop\Rajagopal\R\CMC\CMC.log

Regards

Re: opensim-cmd

Posted: Fri Mar 20, 2020 6:10 pm
by kernalnet
Hi,

The problem was solved by adding > before the log directory.

Regards