* Get temp directory for scripts
()
| 199 | * Get temp directory for scripts |
| 200 | */ |
| 201 | function getTempDir(): string { |
| 202 | return path.join(os.tmpdir(), "bearly-process") |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Schedule cleanup of completed process buffer after 30 minutes |