There was an error while loading. Please reload this page.
1 parent 6b48b14 commit a04cd28Copy full SHA for a04cd28
1 file changed
ee/desktop/runner/runner_darwin.go
@@ -17,8 +17,8 @@ import (
17
)
18
19
// Starts the provided cmd and returns any errors from spawning the process. If the uid differs from the user
20
-// running the current process, runAsUser uses launchctl runas to start cmd in user context. Otherwise it runs the cmd
21
-// directly.
+// running the current process, runAsUser uses `launchctl runas` to start cmd in the user's context (required for
+// notifications to work). Otherwise it runs cmd directly.
22
func (r *DesktopUsersProcessesRunner) runAsUser(ctx context.Context, uid string, cmd *allowedcmd.TracedCmd) error {
23
_, span := observability.StartSpan(ctx, "uid", uid)
24
defer span.End()
0 commit comments