Skip to content

Commit c4a0301

Browse files
committed
Make asm interpreter quieter.
1 parent 06911bc commit c4a0301

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

www/notes/blackmail/asm/interp.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#:exists 'truncate
1414
(λ ()
1515
(asm-display a)))
16-
(system (format "(cd ~a && make -s ~a)" dir t.run))
16+
(system (format "(cd ~a && make -s ~a) 2>&1 >/dev/null" dir t.run))
1717
(delete-file t.s)
1818
(with-input-from-string
1919
(with-output-to-string

www/notes/con/asm/interp.rkt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
#:exists 'truncate
1414
(λ ()
1515
(asm-display a)))
16-
(with-output-to-string ; ignore make output
17-
(λ ()
18-
(system (format "(cd ~a && make -s ~a)" dir t.run))))
16+
(system (format "(cd ~a && make -s ~a) 2>&1 >/dev/null" dir t.run))
1917
(delete-file t.s)
2018
(with-input-from-string
2119
(with-output-to-string

www/notes/dupe/asm/interp.rkt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
#:exists 'truncate
1414
(λ ()
1515
(asm-display a)))
16-
(with-output-to-string ; ignore make output
17-
(λ ()
18-
(system (format "(cd ~a && make -s ~a)" dir t.run))))
16+
(system (format "(cd ~a && make -s ~a) 2>&1 >/dev/null" dir t.run))
1917
(delete-file t.s)
2018
(with-input-from-string
2119
(with-output-to-string

www/notes/extort/asm/interp.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#:exists 'truncate
1414
(λ ()
1515
(asm-display a)))
16-
(system (format "(cd ~a && make -s ~a)" dir t.run))
16+
(system (format "(cd ~a && make -s ~a) 2>&1 >/dev/null" dir t.run))
1717
(delete-file t.s)
1818
(with-input-from-string
1919
(with-output-to-string

0 commit comments

Comments
 (0)