im having trouble trying to run more than one applications from my program. I thought threading might help (but actually i hav little knowledge bout it).
below is some part of the program:
if 'pdf' in self.ebook:
thread.start_new_thread(self.open_pdf())
elif "chm" in self.ebook:
thread.start_new_thread(self.open_chm())
def open_pdf(self):
os.system('evince \'%s\''%self.ebook)
def open_chm(self):
os.system('gnochm \'%s\''%self.ebook)
well, the program did run evince (pdf reader), but i cant run another evince. I hav to close the previous one.
What i want is to run more than one ebook.
Please help me here. Tanx 4 all the help
PS. sory my english...not native speaker