AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: # and Not having in #mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client  (Read 7179 times)

0 Members and 2 Guests are viewing this topic.

DZpower

  • New Member
  • *
  • Posts: 29
can someone explain what is the difference between having a # and Not
what is the correct setting to have ?

#mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

and

mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34067
From reply 74 from the MLAT thread

The rbfeeder has this line built in, and provides it if this lines is commented out. This command starts the mlat-client

Commenting out is better from possible upgrade of rbfeeder in future which may require changing python3.7 to say python3.8 or 3.9 or 4. Commenting it out will force new version of rbfeeder to use correct version built into it.

Alan

GlynH

  • Hero Member
  • *****
  • Posts: 612
can someone explain what is the difference between having a # and Not
what is the correct setting to have ?

#mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

and

mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client

Whenever you see the # character it indicates everything in the line following is commented out i.e. the line is ignored when the file is parsed for example;

# To enable feature X, uncomment the line below
#FeatureX = Enabled

It is also useful as a placeholder and/or marker for example rather than having to trawl through lines of code looking for a particular entry you will often see characters like # followed by a description to make it easier to locate a refernce amongst lines & lines of text.

Other characters you might see serving a similar purpose might be <!-- or // or * for example.

Hope that helps?

Kind regards,
-=Glyn=-