[IPython-user] exits to shell prompt
Fernando.Perez at colorado.edu
Mon Sep 12 16:04:28 CDT 2005
Rakotomandimby Mihamina wrote:
> I dont understand why does ipython exits to the shell prompt after this
> In : os.execl('/bin/ls','l')
Well, because that's what you told it to do:
In : os.execl?
Base Class: <type 'function'>
String Form: <function execl at 0x4005b79c>
Definition: os.execl(file, *args)
Execute the executable file with argument list args, replacing the
You just told it to cut the branch you were sitting on, and it dutifully obeyed.
More information about the IPython-user