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.
1 parent 5cb145e commit 6c1575fCopy full SHA for 6c1575f
components/ide/jetbrains/launcher/main.go
@@ -499,6 +499,9 @@ func resolveUserEnvs() (userEnvs []string, err error) {
499
envCmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
500
envCmd.Stderr = os.Stderr
501
envCmd.WaitDelay = 3 * time.Second
502
+ time.AfterFunc(8*time.Second, func() {
503
+ _ = syscall.Kill(-envCmd.Process.Pid, syscall.SIGKILL)
504
+ })
505
506
output, err := envCmd.Output()
507
if errors.Is(err, exec.ErrWaitDelay) {
0 commit comments