os.execute([command]) Execute an operating system shell command. This is like the C system() function. The system dependent status code is returned. > = os.execute("echo hello") hello 0 > = os.execute("mmmmm") — generate an error 'mmmmm' is not recognized as an internal or external command, operable program or batch file. 1 With no argument, this command returns a non-zero value if an OS shell is presents or a zero value if one is not present. > = os.execute() — no argument 1
Обсуждают сегодня