Recent

Author Topic: (MOVED) Problem with command line options of a GUI application  (Read 27706 times)

kevinspencer33

  • New Member
  • *
  • Posts: 22
    • Adenochrome
(MOVED) Problem with command line options of a GUI application
« on: January 31, 2010, 11:24:10 pm »
 I am making a Linux (Ubuntu) GUI program, and it have to accept some parameters /arguments, but it only work in the Lazarus IDE.

 If y try to run : "./adenochrome -s -n" in the command line it don't detect the "-s -n" options,
but if i put it in run->run parameters...    don't do anything, as I said above.

 I searched in the wiki (http://wiki.lazarus.freepascal.org/Command_line_parameters_and_environment_variables) and in the forum, but I can't find what is the problem.

 Anybody know what's happening?
« Last Edit: January 31, 2010, 11:26:01 pm by kevinspencer33 »

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1933
Re: (MOVED) Problem with command line options of a GUI application
« Reply #1 on: January 31, 2010, 11:45:51 pm »
This works here in the IDE and in a shell.

kevinspencer33

  • New Member
  • *
  • Posts: 22
    • Adenochrome
Re: (MOVED) Problem with command line options of a GUI application
« Reply #2 on: February 01, 2010, 12:56:26 am »
Sorry, this was a stupid problem, I have the options in the application launcher written "adenochrome -n-s" and only works with "adenochrome -n -s". My very own fault.  :-[

 

TinyPortal © 2005-2018