Licensing question - am I allowed to use a GPL binary executable (.exe) in my copyrighted .bat script? Namely I want to use FART command line tool (find & replace text in files) in an install script for a proprietary product. Is such use actually static or dynamic type of linking?

  • 2
    If you're just calling an executable from a batch script, that's not linking; it's execution. – Rufflewind Jul 1 '14 at 16:08
  • could the bat work without the FART or can BURP (Big Ugly Replace Program) drop in just as well – ratchet freak Jul 1 '14 at 16:09

Bat files execute and do not link.

Yes you can execute GPLed code from non-GPLed code. The only thing you will need to do is if you distribute FART, make sure you distribute it's source code as well. See semantic A/V for a popular example. Or many video games. As long as you give credit and don't violate the rules about distributing binaries without source your should be fine.

  • Thanks for an answer. Is it enough to distribute only URL to the source code? – Kozuch Jul 15 '14 at 14:31
  • Usually, so long as it's the correct URL – coteyr Jul 15 '14 at 14:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.