hi,
while helping someone on irc debugging a program on windows, it became aparent that it is a problem to debug errors when running a script by double click.
it would help if pike could detect that and in case of a crash of the script, not exit, but keep the window open. possibly asking the user for input to confirm exiting.
greetings, martin.
That might on the other hand break as much, since you could no longer make a loop that restarts the program upon exit.
wouldn't that be solvable if you can figure out how pike was started?
greetings, martin.
Perhaps you can get to know if Pike was started from a shell or not, but that doesn't really help you. Errors could be logged in the error log though.
pike-devel@lists.lysator.liu.se