import { func, system } from "@rjweb/utils"
const [ success, data, error, ms ] = func.wrap(system.execute, 'echo hi', { async: false })) // [true, 'hi\n', undefined, 1]
const [ success, data, error, ms ] = func.wrap(system.execute, 'wesgasg', { async: false })) // [false, undefined, <Error>, 1]
1.10.0
nodejs, browser
Wrap a function to get data, error and time in an array