public < T > T act ( ProcessCallable < T > callable ) throws IOException , InterruptedException { return callable . invoke ( this , FilePath . localChannel ) ; }
Executes a chunk of code at the same machine where this process resides .