2015-11-10, 20:49
I have a couple ideas of what could be wrong...
Place a break point on the line that says "Error creating temp folder" and see what the values of tempTask.output and tempTask.status are
My guess is that for some reason mktemp may be returning an exit code of something other than 0 (which would cause the app to display that error message)
Alternatively, you could also try commenting out the return statement directly following the setStatus for the error message and that would continue (if mktemp is actually working properly that is)
Place a break point on the line that says "Error creating temp folder" and see what the values of tempTask.output and tempTask.status are
My guess is that for some reason mktemp may be returning an exit code of something other than 0 (which would cause the app to display that error message)
Alternatively, you could also try commenting out the return statement directly following the setStatus for the error message and that would continue (if mktemp is actually working properly that is)