2025-05-12 05:38:44 +09:00

24 lines
591 B
TypeScript

import childProcess from "child_process";
/**
Execute a command
@param {string} command
@param {Object} options
@return {Promise}
*/
declare function exec(command: string, options: {
encoding?: "buffer";
} & childProcess.ExecOptions): any;
/**
Transform a map of options into a command line arguments string
@param {Object} options
@return {string}
*/
declare function optionsToShellArgs(options: any): string;
declare const _default: {
exec: typeof exec;
optionsToShellArgs: typeof optionsToShellArgs;
};
export default _default;
//# sourceMappingURL=command.d.ts.map