type

Exec

src class Exec : Task

Exec is used to run an external OS process

constructors

fields

methods

exePath

Given a executable file turn it into a path to use for Exec

run

Slot Details

exePath

src static Str exePath(File exe)

Given a executable file turn it into a path to use for Exec:

  • if running on Window's add the .exe extension
  • return File.osPath

make

src new make(BuildScript script, Str[] cmd, File? dir := null)

process

src Process process

run

src virtual override Void run()