developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 10 years ago

Closed 10 years ago

#1146 closed bug (fixed)

Return code invalid when exception is raised in commandLine call

Reported by: vsurrel Owned by: bballizlife
Priority: normal Milestone: Jelix 1.1.7
Component: jelix:core:command line Version: 1.1.6
Severity: normal Keywords:
Cc: vsurrel Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Step to reproduce :

  • create a commandLine module
  • add en required parameter
  • call the script in a shell
  • an exception like this is shown :

[exception 42] value for option "-cicFile" is missing /.../lib/jelix/utils/jCmdUtils.class.php 24

  • echo $? returns 0, instead of <>0

Change History (3)

comment:1 Changed 10 years ago by vsurrel

Step to reproduce :

  • create a commandLine module
  • add en required parameter
  • call the script in a shell
  • an exception like this is shown : [exception 42] value for option "-cicFile" is missing /.../lib/jelix/utils/jCmdUtils.class.php 24
  • echo $? returns 0, instead of <>0

comment:2 Changed 10 years ago by vsurrel

  • Cc vsurrel added

comment:3 Changed 10 years ago by laurentj

  • Milestone set to Jelix 1.1.7
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.