hunk.code_window: 				"no changes required",
   				baseRootHtml,
   				baseCss,
   				baseManifestJson,
   				"/",
   				baseRootHtml,
   				baseCss,
   				baseManifestJson,
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: 				nil,
  
hunk.file_path: utils/subpath_test.go
hunk.type: add
file: package plugin
  
  import (
  	"time"
  )
  
  // pidAlive checks whether a pid is alive.
  func pidAlive(pid int) bool {
  	return _pidAlive(pid)
  }
  
  // pidWait blocks for a process to exit.
  func pidWait(pid int) error {
  	ticker := time.NewTicker(1 * time.Second)
  	defer ticker.Stop()
  
  	for range ticker.C {
  		if !pidAlive(pid) {
  			break
  		}
  	}
  
  	return nil
  }
  