Commit 06a9106
committed
Pretty-format subprocess logs.
e.g. subprocess spawned by the animation machinery are now logged as
```
MovieWriter._run: running command: ffmpeg -f rawvideo -vcodec rawvideo -s 640x480 -pix_fmt rgba -r 20.0 -i pipe: -vcodec h264 -pix_fmt yuv420p -y movie.mp4
```
instead of
```
MovieWriter.run: running command: ['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '640x480', '-pix_fmt', 'rgba', '-r', '20.0', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-y', 'movie.mp4']
```1 parent 769dddd commit 06a9106
3 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
| 358 | + | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
2119 | 2120 | | |
2120 | 2121 | | |
2121 | 2122 | | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
2122 | 2129 | | |
2123 | 2130 | | |
2124 | 2131 | | |
2125 | 2132 | | |
2126 | 2133 | | |
2127 | 2134 | | |
2128 | 2135 | | |
2129 | | - | |
| 2136 | + | |
2130 | 2137 | | |
2131 | 2138 | | |
2132 | 2139 | | |
| |||
2136 | 2143 | | |
2137 | 2144 | | |
2138 | 2145 | | |
2139 | | - | |
| 2146 | + | |
2140 | 2147 | | |
2141 | 2148 | | |
2142 | 2149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
0 commit comments