Created
December 19, 2014 12:15
-
-
Save ikarino/ef792ec2b773faf61fb6 to your computer and use it in GitHub Desktop.
bottle_subprocess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<h3>cmd</h3> | |
<form method="get" action="/cmd"> | |
<input type="text" name="cmd"> | |
<input type="submit" value="exec"> | |
</form> | |
<h3>stdout</h3> | |
<tt> | |
%for out in stdout: | |
{{out}}<br /> | |
%end | |
</tt> | |
<h3>stderr</h3> | |
<tt> | |
%for out in stderr: | |
{{out}}<br /> | |
%end | |
</tt> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment