Skip to content

v1.1.1

@eslym eslym tagged this 29 Jun 18:15
- Replaced mutable SetEnv/SetWorkDir with ProcessConfig struct for process initialization
- Updated Process interface and supervisedProcess to use config struct, making process configuration immutable after creation
- Updated all usages in service_cron.go, service_process.go, and service_process_test.go to use new ProcessConfig and NewProcess signature
- Improved interface design, safety, and testability by enforcing immutability and removing type casts
- Updated logging to include process command and PID via interface methods
- All tests updated and aligned with new API
Assets 2
Loading