warning: exec() [function.exec]: Unable to fork [/usr/bin/patch -p0 --verbose -d "sites/all/modules/lightbox2" -i "C:\Domains\alistairgeorge.com\wwwroot\thehome\sites\default\files\patches\compact.patch"] in C:\Domains\alistairgeorge.com\wwwroot\thehome\sites\all\modules\patch_manager\patch_manager.module on line 371.

Also:
# Patching did not go smoothly.
# This command was issued: /usr/bin/patch -p0 --verbose -d "sites/all/modules/lightbox2" -i "C:\Domains\alistairgeorge.com\wwwroot\thehome\sites\default\files\patches\compact.patch"
# This was the output from patch:

(nil output)

This was the patch I wanted to process:
http://drupal.org/node/513882 (attached)

CommentFileSizeAuthor
compact.patch3.93 KBalgeorge

Comments

aidanlis’s picture

Status: Active » Closed (won't fix)

Probably because you're trying to use a unix binary on windows?

algeorge’s picture

Unix on Windows thats it.
Perhaps the Requirements should point out eg:
REQUIREMENTS
------------

The patch_manager module requires the following modules:
views
cck (text submodule)
filefield
views_bulk_operations (optional)
filefield_paths (optional)

That the binary is not Unix, if you are running Windows Server.
For example; (here you need to give reasons or workarounds).

Cheers,
Alistair.

algeorge’s picture

I wanted to get patch going so following your advice I moved my site to localhost which is EasyPHP with Apache. The patch manager system still 'Patching did not go smoothly.' there was no message from the patch so I assume that Apache does not have patch. In Apache\bin there is no file named patch; should there be?
Thanks,
Alistair.

aidanlis’s picture

You can't use this module on Windows, at all. You need to be using a real server, that is a unix machine.