Skip to content

os.executef

starkos edited this page Apr 10, 2021 · 4 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Execute a system command, just like os.execute(), but accepting a format string and values as arguments.

os.executef("format", ...)

Parameters

format is a printf-style formatting string (see Lua's string.format() for examples), followed by a corresponding list of values for token substitution.

Return Value

The return value of the executed command.

Availability

Premake 5.0 or later.

See Also

Clone this wiki locally