os.system workaround