- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi
Is it possible, using only fortran, to capture stdout from a call system() invocation?
best,
Is it possible, using only fortran, to capture stdout from a call system() invocation?
best,
- Etiquetas:
- Intel® Fortran Compiler
1 Solución
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - rreis
whithout capturing it to a file and reading it later, off course...
Yes, that would be useful and I've needed this capability. Unfortunately I know of no way to do this from just Fortran - other than the redirection of output to a file which is then opened and read.
Enlace copiado
3 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
whithout capturing it to a file and reading it later, off course...
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - rreis
whithout capturing it to a file and reading it later, off course...
Yes, that would be useful and I've needed this capability. Unfortunately I know of no way to do this from just Fortran - other than the redirection of output to a file which is then opened and read.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Quoting - Ronald Green (Intel)
Yes, that would be useful and I've needed this capability. Unfortunately I know of no way to do this from just Fortran - other than the redirection of output to a file which is then opened and read.
call system ('uname -snm>>file.log') to run only to see this happns to stdout but not in other file.
i had to have a short encounter with c to do this....thanks to both of you.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla