0

After seeing the following question one of my problems came in mind: I want to couple two different scripts in two different languages.

I found a solution for that, and I copied that solution. Unfortunately the same author uses this code for a script which he put under the GPL, but he did not mention the GPL in his example.

Can I use the connection (pipe-construction) in a non-free script, even if the script he uses this code is under the GPL?

I want to combine python and ruby, and I used the code from this page. Later I found out that he wrote a script licensed under the GPL using the same technique.

arc_lupus
  • 121
  • 5

1 Answers1

2

Most likely, no you cannot use the other person's script without licensing your code under the GPL.

For you to legally use someone else's work, they need to provide a license to you for that code. Some licenses, such as MIT and BSD, are permissive, and are the equivalent of giving the code away. Other licenses, such as the GPL, impose restrictions upon end-users of their code.

You stated that the script you want to use is GPL'd, then you must release your code as GPL if you wish to use their script.

The fact that an example was provided without explicitly stating the license is mot. That example was effectively unlicensed code to which you did not have permission to use.