Sample Header Ad - 728x90

Error QProcess: Destroyed while process is still running

1 vote
1 answer
3583 views
**Edit:** _I discovered that the problem is not related with the script cited below, but I'll leave it there just for history._ Well, this error appears when I close texstudio **with the viewer open** (xdvi or evince). If I close the viewer first and then close texstudio, no problem, no errors on the terminal. This is the error: QProcess: Destroyed while process is still running. ---------- **Old text:** Every time when I close my texstudio after opened by my script below I got this error on the terminal: QProcess: Destroyed while process is still running. Here is the script fastex.sh #!/bin/sh # Copyleft 2012 by Sigur caminho=/home/$USER file=$caminho/fastex-temp exec 3>&1 exec > "$file".tex printf '\\documentclass[11pt,a4paper]{amsart}\n' printf '\\usepackage{amsfonts,amsthm,amsmath,amssymb}\n' printf '\\usepackage[latin1]{inputenc}\n' printf '\\usepackage[T1]{fontenc}\n' printf '\usepackage{tikz}\n' printf '\usepackage[brazil]{babel}\n' printf '\n' printf '\\begin{document}\n' printf '\n' printf '\\end{document}' linha=$(wc -l < "$file".tex) texstudio --line $linha "$file".tex find . -name "fastex-temp.*" | grep -vP '.tex$|.pdf$' | while read -r i; do rm $i; done I guess that the problem is with the find command to delete auxiliary files. So, is find executed only after I close texstudio? Thanks for a while. Best wishes. **Edit** enter image description here
Asked by Sigur (2461 rep)
Sep 7, 2012, 12:02 AM
Last activity: Apr 27, 2016, 03:28 PM