We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startProc
spawnCommand
1 parent cb61600 commit 3d3ee83Copy full SHA for 3d3ee83
client/transport/stdio.go
@@ -69,7 +69,7 @@ func NewStdio(
69
}
70
71
func (c *Stdio) Start(ctx context.Context) error {
72
- if err := c.startProc(ctx); err != nil {
+ if err := c.spawnCommand(ctx); err != nil {
73
return err
74
75
@@ -83,8 +83,8 @@ func (c *Stdio) Start(ctx context.Context) error {
83
return nil
84
85
86
-// startProc spawns a new process running c.command.
87
-func (c *Stdio) startProc(ctx context.Context) error {
+// spawnCommand spawns a new process running c.command.
+func (c *Stdio) spawnCommand(ctx context.Context) error {
88
if c.command == "" {
89
90
0 commit comments