Hmm, I thought a user doing cd / would be in the user root folder, but it seems not as I see you say this.u3dreal wrote:Hi well i think you don't have permission to write to root..!!

In that case try this:
Code: Select all
def launchLinIndigo(filename):
# Create shell script and make it executable
f = open("~/IndigoWrapper.sh", 'w')
f.write("#!/bin/sh\n")
f.write("cd ~/ \n")
f.write("wine indigo.exe " + filename + " -t " + str(Threads.val))
f.close()
os.system("chmod +x ~/IndigoWrapper.sh")
# call external shell script to start Indigo
cmd= "~/./IndigoWrapper.sh"
print cmd
os.system(cmd)

It's too long ago to know for sure, if you know the correct one u3dreal please correct the tilde accordingly.
Greetings from puzzled Amsterdam,
Jan