##// END OF EJS Templates
Merge pull request #2148 from bfroehle/no_more_os_system...
Merge pull request #2148 from bfroehle/no_more_os_system win32 iptest: Use subprocess.Popen() instead of os.system(). The call to `os.system` in `iptest` prevents us from easily setting `$IPYTHONDIR` to a temporary directory. In theory we should be able to use `subprocess.Popen` instead of `os.system` in Windows. This would unify the code structure and make it easy to pass in a different environment. Note that Python < 2.7 does not have `os.kill`. I've attempted to work around this by using `ctypes` to kill any living processes.

File last commit:

r5342:0a49a993
r8028:6ed621a3 merge
Show More
irunner.1
51 lines | 1.3 KiB | application/x-troff | GroffLexer
.TH IRUNNER 1 "July 15, 2011" "" ""
.SH NAME
\fBirunner \- interactive runner interface
.SH SYNOPSIS
.nf
.fam C
\fBirunner\fP [\fIoptions\fP] \fIfile_to_run\fP
.fam T
.fi
.SH DESCRIPTION
irunner is an interface to the various interactive runners
available in IPython's \fBirunner\fP module.
It can used to run scripts as if they where typed up
interactively.
.PP
The already implemented runners are listed below; adding
one for a new program is a trivial task, see the source
for examples.
.SH OPTIONS
.TP
.B
\-h, \-\-help
show this help message and exit
.TP
.B
\-\-ipython
IPython interactive runner (default).
.TP
.B
\-\-python
Python interactive runner.
.TP
.B
\-\-sage
SAGE interactive runner.
.SH EXAMPLE
irunner.py \-\-python \-\- \-\-help
will pass \-\-help to the python runner.
Similarly,
irunner.py \-\-ipython \-\- \-\-interact script.ipy
.SH SEE ALSO
.BR ipython(1)
.br
.SH AUTHOR
\fBirunner\fP is an extension of Ken Schutte <kschutte\-AT\-csail.mit.edu>'s
script contributed on the ipython\-user list:
http://mail.scipy.org/pipermail/ipython\-user/2006\-May/003539.html
.PP
This manual page was written by Bernd Zeimetz <bernd@bzed.de>, for the Debian
project (but may be used by others). Modified by Fernando Perez
<Fernando.Perez@berkeley.edu> for inclusion in IPython.