Releases
v0.1.0
Compare
Sorry, something went wrong.
No results found
Added
Initial release of timeout-cli
Basic timeout functionality with configurable duration
Command execution with proper exit code forwarding
Advanced exit codes matching GNU timeout standards:
124: Command timed out
125: timeout command itself failed
126: Command found but cannot be invoked (permission denied)
127: Command not found
137: Command killed with KILL signal
Kill-after functionality (--kill-after) for SIGTERM → SIGKILL escalation
Verbose debugging mode (--verbose) for troubleshooting
Comprehensive signal handling with proper SIGTERM/SIGKILL timing
Cross-platform support (Linux, macOS, Windows)
Comprehensive test suite with 25 integration tests
Full GNU timeout compatibility for core features
Features
Command-line interface using clap with proper argument parsing
Process group handling and signal propagation
Thread-safe timeout and kill-after coordination
Detailed debug output for troubleshooting process behavior
Proper handling of responsive vs unresponsive processes
Edge case support (zero timeouts, quick commands, error conditions)
Documentation
Comprehensive README with usage examples
Detailed exit code documentation
Feature comparison with GNU timeout
Installation instructions for multiple methods
Contributing guidelines and issue reporting information
Testing
25 comprehensive integration tests covering:
Normal command execution and completion
Timeout scenarios with SIGTERM handling
Kill-after scenarios with SIGKILL escalation
Exit code forwarding and error conditions
Cross-platform compatibility verification
Performance and timing validation
You can’t perform that action at this time.