Dave Coventry wrote: > {$ELSE} > AProcess := TProcess.Create(nil); > AStringList := TStringList.Create; > AProcess.CommandLine := 'echo $HOSTNAME'; Try running 'hostname' instead? Micha