jcrodriguez-dis / vpl-jail-system

Execution/jail server for VPL
GNU General Public License v3.0
23 stars 22 forks source link

VPL always runs first file #2

Closed fabiosl closed 9 years ago

fabiosl commented 10 years ago

Hi @jcrodriguez-dis,

I've created a VPL assignment with 5 files (ex01.py, ex02.py, ex03.py, ex04.py, ex05.py).

On each file I've written something like

print "hello from 1"
print "hello from 2"

So, when I run file #2, I'm expecting to get a "hello from 2", right? However, no matter which file I run, the first file is always executed.

Is this a known issue?

Screenshots: screen shot 2014-05-02 at 11 04 40 am screen shot 2014-05-02 at 11 04 57 am screen shot 2014-05-02 at 11 05 11 am

jcrodriguez-dis commented 10 years ago

Hi @fabiosl, Sorry, this is the default behavior. This is the link to the NOT UPDATED list of default script with its behavior. http://vpl.dis.ulpgc.es/index.php/en/old-documentation/61-compilers-and-interpretesin-jail-system You can see that the script of Python only run the first file.

If this is not the appropriate behavior for you, I encourage you to experiment creating your own script of execution. You can take the first step using the default script.

Best regards