That one didn't work either
I found a way to execute the .bat, I've just put the content of the .bat file inside the script just behind the "wine cmd /c":
Code:
#!/bin/bash
sleep 2s
echo Start LW3D11.02 RenderNode 02
wine cmd /c "C:\Program Files\NewTek\LightWave11.02\bin\lwsn.exe -2 -dY:\ -cV:\Lightwave11.02\Config\LW11-64.CFG V:\Lightwave11.02\Command\job2 V:\Lightwave11.02\Command\ack2"
When I double click the script it asked me "Run in Terminal, Display Cancel or Run", when I click "Run in Terminal". It then runs the rendernode inside the Ubuntu terminal ( instead of the windows terminal ). But apparently this works. I just did some test renders and it seems to work fine like this.
I then nested the script into another script ( because it didn't "Run in Terminal at Start-Up ):
Code:
#!/bin/bash
sleep 2s
echo Start LW3D11.02 RenderNode 02
gnome-terminal -e /home/intelmac01/AutoRunApp/LWRenderNode02.sh
Now everything Runs automatic when booting the machine. If I find the HASP Dongle problem than all issues are fixed.
Tanks Toz for your input, it has helped me a lot.
Bookmarks