Commit ccde8ca
feat: pass a shell script to sbatch rather than the command directly (#380)
Fixes
#379
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added a user-facing setting to choose whether job commands are
submitted as a shell script (on/off).
* **Refactor**
* When enabled, job scripts are streamed to the scheduler via stdin
instead of being embedded on the command line, improving handling of
complex commands.
* **Bug Fixes / Reliability**
* Enhanced logging and error messages now include submitted script
content to aid debugging.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Christian Meesters <cmeesters@users.noreply.github.com>1 parent 27607e5 commit ccde8ca
1 file changed
+38
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
286 | 300 | | |
287 | 301 | | |
288 | 302 | | |
| |||
427 | 441 | | |
428 | 442 | | |
429 | 443 | | |
430 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
431 | 448 | | |
432 | 449 | | |
433 | 450 | | |
| |||
514 | 531 | | |
515 | 532 | | |
516 | 533 | | |
517 | | - | |
518 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
519 | 545 | | |
520 | 546 | | |
521 | 547 | | |
522 | 548 | | |
523 | 549 | | |
524 | 550 | | |
525 | 551 | | |
| 552 | + | |
526 | 553 | | |
527 | 554 | | |
528 | 555 | | |
529 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
530 | 559 | | |
531 | 560 | | |
532 | 561 | | |
| |||
538 | 567 | | |
539 | 568 | | |
540 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
541 | 575 | | |
542 | 576 | | |
543 | 577 | | |
| |||
0 commit comments