@hashgraph/solo
Preparing search index...
src/core/shell-runner
ShellRunner
Class ShellRunner
Hierarchy (
View Summary
)
ShellRunner
BaseCommand
ClusterTaskManager
BaseDependencyManager
DependencyManager
AptGetPackageManager
BrewPackageManager
Index
Constructors
constructor
Properties
logger?
Methods
run
sudo
Run
Constructors
constructor
new
ShellRunner
(
logger
?:
SoloLogger
)
:
ShellRunner
Parameters
Optional
logger
:
SoloLogger
Returns
ShellRunner
Properties
Optional
logger
logger
?:
SoloLogger
Methods
run
run
(
cmd
:
string
,
arguments_
?:
string
[]
,
verbose
?:
boolean
,
detached
?:
boolean
,
)
:
Promise
<
string
[]
>
Returns a promise that invokes the shell command
Parameters
cmd
:
string
arguments_
:
string
[]
= []
verbose
:
boolean
= false
detached
:
boolean
= false
Returns
Promise
<
string
[]
>
sudo
Run
sudoRun
(
sudoRequested
:
(
message
:
string
)
=>
void
,
sudoGranted
:
(
message
:
string
)
=>
void
,
cmd
:
string
,
arguments_
?:
string
[]
,
verbose
?:
boolean
,
detached
?:
boolean
,
)
:
Promise
<
string
[]
>
Parameters
sudoRequested
:
(
message
:
string
)
=>
void
sudoGranted
:
(
message
:
string
)
=>
void
cmd
:
string
arguments_
:
string
[]
= []
verbose
:
boolean
= false
detached
:
boolean
= false
Returns
Promise
<
string
[]
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
logger
Methods
run
sudo
Run
@hashgraph/solo
Loading...
Returns a promise that invokes the shell command