xwdtopnm < ../Build/server/tmp/wdt-simple/final.xwd | gm display -
xwud and plain gm display don't work
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-listen inet \
-listen inet6 \
-terminate \
- -wr \
+ -retro \
-displayfd 1".split(' '))
.args(&["-fbdir", abstmp])
.arg(format!(":{}", DISPLAY));
let mut cmd = Command::new("xwd");
cmd.args("-root \
-silent \
- -out final.xwd".split(' '));
+ -out final-xwd.xwd".split(' '));
let s = cmd
.spawn().context("spawn")?
.wait().context("wait")?;