Pass values into child script in headless mode
Posted: 25 Nov 2021, 18:37
Hello,
Sorry for the simple question but I've not been able to find how to do it.
Please is there a way to pass a value into the child script when running in headless mode?
Like this:
./coppeliaSim.sh -h -s myscene.ttt <value to pass in>
So that I can run the same scene with different values without editing the child script?
Best,
Kat
Sorry for the simple question but I've not been able to find how to do it.
Please is there a way to pass a value into the child script when running in headless mode?
Like this:
./coppeliaSim.sh -h -s myscene.ttt <value to pass in>
Code: Select all
function coroutineMain()
X= <value passed>
print(X)
end
Best,
Kat