While testing my pp'ed file, I'm seeing that the /tmp/par*
directory is filling up with 'stuff', either:
/tmp/par-xxx/temp-xxx/...
or
/tmp/par-xxx/cache-xxx/...


So I made a simple 'hello world' as a test, that does a sleep to allow
me to control C it. and If I do... stuff is left behind.  What am I doing
wrong?

I built it with:    pp --clean -o hello hello.pl

If I control-C it, I get stuff,
if I let it terminate, I'm still left with the empty /tmp/par-xxx directory
(but eventually I'll get many different par-nnn directories!

#!/usr/bin/perl

print "sleeping for 5 seconds\n";
sleep 5;
print "hello world\n";

[Ultimately, I'm doing this under Cygwin, and my app will be run as a
'windows service'
via srvany.exe.  I've managed to simplify what needs to be installed, but I
still
need to use:

mintty -e myapp

but... when the 'service' is stopped, its srvany that gets signaled
and not mintty let alone myapp.  But that's another hurdle I have
yet to surmount.]

Reply via email to