arXiv:2609.11000cs.HCSep 2026

Manuscript Offprint

arXiv:2609.11000

ShellVis: Sandboxed Live Programming for Shell Scripts

Joshua Horowitz, Jeffrey Heer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Joshua Horowitz

joshuah@alum.mit.edu

University of Washington

Seattle, United States

Jeffrey Heer

jheer@uw.edu

University of Washington

Seattle, United States

Figure

Shell script

Live feedback

Figure 1: A ShellVis user writes a script to sort photos into folders by year. The script’s source is shown on the left. On the right, focus+context visualizations convey script outputs. A loop slider (a) indexes iterations of the for loop, while abbreviated bubbles (b) show command output and effects on shell variables. An expanded bubble for the current focus (c) shows file system effects. The script contains a critical mistake, but ShellVis ran it in a sandbox so the user’s photos are unharmed.

ABSTRACT

Live programming provides visibility to programmers by running and tracing programs as they are edited. However, for programs with potentially harmful side effects, liveness can turn mistakes into disasters. We propose enabling live programming in environments with side effects via sandboxing: confining effects to a simulation of the true environment. We apply sandboxed live programming in the challenging context of shell scripting: a ubiquitous and powerful—yet notoriously opaque and error-prone—tool. ShellVis provides line-by-line feedback on a shell script's run-time behavior, with file operations sandboxed via a safe overlay of the file system. A qualitative user evaluation finds ShellVis to be helpful to participants, replacing tedious existing practices and instilling confidence. Participant responses also reveal areas for future research, particularly bridging the gulf of execution alongside the gulf of evaluation. ShellVis serves as a case study of how sandboxing can bring live-programming techniques into the many real-world programming contexts where side effects are important.

KEYWORDS

live programming, shell scripts, sandboxing