type

Exec

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

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

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

process

Process process

run

virtual override Void run()