Message28028
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310
32 bit (Intel)] on win32 - Windows XP SP2
N.B. sorry for italian error messages.
With the following script:
# redirection.py
import os
import sys
os.system(sys.argv[1])
----------------
When doing:
redirection.py "dir" > redirection.txt
I obtain:
Spazio su disco insufficiente.
Instead with:
redirection.py "svn help" > redirection.txt
svn: Errore di scrittura: Bad file descriptor
This is a Python problem because with an equivalent
program written in C++:
// redirection.c++
#include <cstdlib>
int main(int argc, char** argv) {
std::system(argv[1]);
}
---------------------------------
there are no problems.
Thanks and regards Manlio Perillo |
|
Date |
User |
Action |
Args |
2007-08-23 14:39:04 | admin | link | issue1463104 messages |
2007-08-23 14:39:04 | admin | create | |
|