Python os.execl() Method

Python os.execl() Method

Python os.execl() method is an efficient way of causing the current process to be terminated and replaced by the program passed as the argument to the os.execl() method. Syntax of Python os.execl() Method os.execl(path, arg1, arg2...) Parameters path It is an address object of the first file system path or a symlink. The object can either be an str or bytes. arg1 It is the argument of any process we want to execute.

Tags

Python Math Python DateTime Python API Python OS Python Sys Python Datetime Path islink

Most Popular Articles

Recently Updated Articles