Discussion:
[p4] Running Perl triggers on windows platform..
Eugene Boguslavsky
2005-11-10 21:59:00 UTC
Permalink
Hi,

I have created an out trigger that calls a perl script to parse the
changelist description on submit. I get an error on changelist submit:

CreateProcess: d:\scripts\process.pl c:\windows\temp\t1084d.tmp: %1 is
not a valid win32 application.



I am able to execute perl scripts directly on the perforce server, is
there something I am missing on a perforce side?



Thanks



Eugene Boguslavsky
Engineering
Global PACS Business Unit
Philips Medical Systems
5000 Marina Blvd., Suite 100, Brisbane, California 94005-1862 U.S.A.
Phone: +1 (650) 228-5530 Fax: +1 (650) 228-5566
Stephen Vance
2005-11-11 02:22:17 UTC
Permalink
Probably the script is being run as a different user that has a more
restricted execution mode. Try setting it up as "perl d:\script/process.pl ..."

Steve
Post by Eugene Boguslavsky
Hi,
I have created an out trigger that calls a perl script to parse the
CreateProcess: d:\scripts\process.pl c:\windows\temp\t1084d.tmp: %1 is
not a valid win32 application.
I am able to execute perl scripts directly on the perforce server, is
there something I am missing on a perforce side?
Thanks
Eugene Boguslavsky
Engineering
Global PACS Business Unit
Philips Medical Systems
5000 Marina Blvd., Suite 100, Brisbane, California 94005-1862 U.S.A.
Phone: +1 (650) 228-5530 Fax: +1 (650) 228-5566
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/
Jamison, Shawn
2005-11-11 14:56:29 UTC
Permalink
Your path c:\windows\temp\t1084d.tmp is contained in the variable %formfile%.

Also to use d:\scripts\process.pl directly you will have to "associate" the *.pl with the Perl.exe.

What you would really do is change the trigger to include the path to the perl.exe. Something like this

d:\perl\bin\perl.exe d:\scripts\process.pl c:\windows\temp\t1084d.tmp %1

-Shawn J>


-----Original Message-----
From: perforce-user-***@perforce.com
[mailto:perforce-user-***@perforce.com]On Behalf Of Eugene
Boguslavsky
Sent: Thursday, November 10, 2005 4:59 PM
To: perforce-***@perforce.com
Subject: [p4] Running Perl triggers on windows platform..


Hi,

I have created an out trigger that calls a perl script to parse the
changelist description on submit. I get an error on changelist submit:

CreateProcess: d:\scripts\process.pl c:\windows\temp\t1084d.tmp: %1 is
not a valid win32 application.



I am able to execute perl scripts directly on the perforce server, is
there something I am missing on a perforce side?



Thanks



Eugene Boguslavsky
Engineering
Global PACS Business Unit
Philips Medical Systems
5000 Marina Blvd., Suite 100, Brisbane, California 94005-1862 U.S.A.
Phone: +1 (650) 228-5530 Fax: +1 (650) 228-5566



_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
w***@datos.de
2005-11-11 18:15:57 UTC
Permalink
Hello,
i have created 2 workspaces for a reason, and now i want to delete one of
them.
i cant find any menu item to remove the workspace.

any help here ? thx.
John.
s***@vance.com
2005-11-11 19:19:44 UTC
Permalink
In the GUIs, you have to set the workspace as active before you can delete
it. In P4Win, it's available on the context menu. In P4V it's available on
the Edit menu

Or you can just go to the command line and type 'p4 client -d <workspace
name>'

Steve

Original Message:
-----------------
From: ***@datos.de
Date: Fri, 11 Nov 2005 19:15:57 +0100
To: perforce-***@perforce.com
Subject: [p4] delete a workspace


Hello,
i have created 2 workspaces for a reason, and now i want to delete one of
them.
i cant find any menu item to remove the workspace.

any help here ? thx.
John.

_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Loading...