![]() I've had thoughts that the jar file I'm using could be the problem, but I haven't found any answers for hours. The code I learnt that makes a file run in the background(similar to adding & in a Linux terminal): START "" program Here's the line of code in my script that does the calling: n(, cwd=os.getcwd(), shell=True) I've added a line at the end of my script that is also told to be an efficient way of keeping the script running, but it doesn't work either(could be another mistake here): while True: I wrote it in my script, no errors, but the Shimeji nor its tray icon doesn't ever appear anymore. ![]() A few searches later, I've found a way to run files in CMD that keeps it running even after closing the CMD. I tried running it in command prompt(since calling the jar file using the script is similar to running a file in CMD) and discovered that it only runs as long as the CMD window is open. I'm using the Shimeji-ee.jar in testing, and at one point its tray icon showed up but disappeared immediately. ![]() Everything runs fine but the jar file I used for testing doesn't run or show up. I'm currently programming a Python script that opens a file in an different directory that the user enters in an input box. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |