open-dust/cairo-foundry

Display execution output without `Program Output: `

tdelabro opened this issue · 0 comments

Use cairo_runner.write_output() to display the execution output on stdout.
Right now we use

cairo_run::write_output(&mut cairo_runner).map_err(|e| {
			format!(
				"failed to print the program output \"{}\": {}",
				self.program.display(),
				e,
			)
		})?;

that prepend the program output with a Program Output: line. A line we don't want for our own output