Commit 488643c
gh-68453: Fix IDLE -s together with -c, -r or - (GH-157592)
The startup file runs in the subprocess asynchronously, so the command
or script was queued while it was still executing: an "Already
executing" dialog was shown, sys.argv was not set, and the subprocess
was restarted, discarding the startup file. Wait for the startup file
to finish first.
(cherry picked from commit 9cc3547)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent e396482 commit 488643c
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1675 | 1675 | | |
1676 | 1676 | | |
1677 | 1677 | | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
1678 | 1682 | | |
1679 | 1683 | | |
1680 | 1684 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments