aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: ExecOnCompletition  (Read 2756 times)

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
ExecOnCompletition
« on: January 29, 2006, 11:40:04 AM »

Hi all
I got:
Quote
ExecOnCompletitionCommand= sh -c '/usr/local/bin/myScript "%FILE" '
But this don't work... %FILE isn't transformed in the variables it contains... myScript takes as input %FILE as string...
Any help?
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: ExecOnCompletition
« Reply #1 on: January 29, 2006, 12:42:17 PM »

Do you use v2.1.0 or a CVS snapshot?
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: ExecOnCompletition
« Reply #2 on: January 29, 2006, 02:27:53 PM »

CVS 2006-01-14
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: ExecOnCompletition
« Reply #3 on: January 29, 2006, 03:58:33 PM »

P.S.: which tools do you use for amule development ??? (i.e. netbeans for java)
Is there a design project of amule (UML or similar) ???
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: ExecOnCompletition
« Reply #4 on: January 29, 2006, 04:06:12 PM »

Hmm, strange. It works fine here, using your setting.
As for aMule, it is written in C++ using the wxWidgets framework. The design, I'm afraid, is rather like a maze. Complete with traps, a minotaur and no map ...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: ExecOnCompletition
« Reply #5 on: January 29, 2006, 04:40:49 PM »

And no feathers nor wax
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: ExecOnCompletition
« Reply #6 on: January 30, 2006, 05:43:24 PM »

Which are the other keywords ???
%NAME ??? %SIZE ??? .... ????

Bye
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: ExecOnCompletition
« Reply #7 on: January 30, 2006, 07:01:42 PM »

At the moment, there are only %FILE and %HASH, since everything else can easily be obtained from those.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: ExecOnCompletition
« Reply #8 on: January 30, 2006, 07:27:53 PM »

As for tomorrow, %NAME and %SIZE
Logged