diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 11:29:28 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 11:29:40 -0300 |
| commit | 3d60aa05ec1a6f9ed535186be6c6c2850c71b24d (patch) | |
| tree | e55587fb9d1ec5f55c55fa81b7d81f3a91bf5375 /core/exec.zig | |
| parent | add0837dc1927389096cbaaf65b7e1a42028eafc (diff) | |
| parent | 8723462d8e02bc9d78b5004de38b910e83540575 (diff) | |
| download | pardes-3d60aa05ec1a6f9ed535186be6c6c2850c71b24d.tar.gz pardes-3d60aa05ec1a6f9ed535186be6c6c2850c71b24d.zip | |
merge: L2a (tags, grips, band, notice onto chrome) + M2's fix + FP (PDF leaks, spawn stop, PDF hits)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/exec.zig')
| -rw-r--r-- | core/exec.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/exec.zig b/core/exec.zig index 44cfea64..47fea012 100644 --- a/core/exec.zig +++ b/core/exec.zig @@ -751,6 +751,10 @@ pub fn runCommand(p: *Pardes, from: usize, line: []const u8) ?usize { if (other.command != null and other.command_done and !other.command_pty and std.mem.eql(u8, other.cwdSlice(), dir) and !leased(p, other.serial)) break i; } else null; if (reuse) |id| { + // A process started and its emulator written, as a new command + // pane's (panes.newCommand): the session's, which a speculation + // waits for, nothing of the pane changed first. + if (p.tape.authorityOnly("run a command")) return null; const pane = p.panes[id].?; const owned = p.gpa.dupe(u8, line) catch |err| { p.reportError(.at(from), "exec", err); |
