Skip to content

feat: be/local/shell.Spawn should use UserDataDir for workdir not /tmp #489

Description

@starpit
  1. we aren't cleaning up the ioutil.TempDir() that is used for the workdir
  2. avoid /tmp for long-running processes
  3. avoid /tmp because maybe minio is confused by it (search for O_DIRECT in the minio issues)

for 1, we can piggyback on killProcessGroupOnContextCancellation() and also auto-clean up when the process exits normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions