mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Ignore devstate when existing process name is not odo * Delete orphan devstate files with odo delete component * Update unit tests * Create fake system * Add unit tests for odo delete component * Integration tests for odo dev * Troubleshooting * First process on Windows is 4 * Use go-ps lib for pidExists
22 lines
283 B
Go
22 lines
283 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package helper
|
|
|
|
import (
|
|
"os/exec"
|
|
|
|
"github.com/onsi/gomega/gexec"
|
|
)
|
|
|
|
func terminateProc(session *gexec.Session) error {
|
|
session.Interrupt()
|
|
return nil
|
|
}
|
|
|
|
func setSysProcAttr(command *exec.Cmd) {}
|
|
|
|
func GetFirstProcess() int {
|
|
return 1
|
|
}
|