Subject: | cpan "is one already running" logic breaks on Win32 |
Got the following today. A previous cpan instance must have crashed
sometime in the past, but there most certainly WASN'T one running at the
time I ran this.
----------------------------------------------------------------------
C:\Documents and Settings\adam>cpan
CPAN: File::HomeDir loaded ok
There seems to be running another CPAN process (pid 1352). Contacting...
Other job is running.
You may want to kill it and delete the lockfile, maybe. On UNIX try:
kill 1352
rm C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\.lock
C:\Documents and Settings\adam>cpan
---------------------------------------------------------------------
You may also want to consider adding a little platform detection logic
to that error message, at least for the obvious cases.