Version from command line

General questions regarding the usage of CodeLite
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Version from command line

Post by Jarod42 »

Is there a way to show/know Codelite version from command line only (no popup)?

codelite --version opens a popup with expected information.

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Version from command line

Post by eranif »

I assume Windows?

On linux you get it

Code: Select all

/home/eran ubuntu
$codelite --version
CodeLite IDE v17.0.0

On Windows, its a bit a problem: we don't have a terminal attached (the binary is linked with -mwindows)

Make sure you have read the HOW TO POST thread
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Version from command line

Post by Jarod42 »

I tested in windows, but it is for remote linux, so it should do the job :)

It does the job, require X-server though, so fixed by xvfb-run -a codelite --version :-)

Post Reply