Open lukesg08 opened 1 year ago
Would this be sys.args
? So you'd want to be able to provide a sys.args
value conveniently? Because I think you can use the existing infrastructure to achieve this, but it's not as convenient as it could be. You'd need to provide some information to TIFA, and also add the data to the sandbox. But it would be pretty easy to provide some easy convenience functions to make that happen. I think there's some work per environment to do too, to make sure the data gets passed in conveniently.
Yes, this would be sys.args. I'd expect this would actually be something in the run function from the sandbox for Pedal, but I didn't see an option for that in the teacher reference.
Conversation at SIGCSE is that likely we should put this on run
and make it easy for the instructors to specify. Also probably provide a set_sys_args
similar to how we do that for set_input
.
Not sure where this left off, but I notice in the current version it seems like sys args leaks into the students' code execution. We should make sure that this is more tightly controlled!
I think we have somewhere in the documentation that we do not handle system arguments. This should be added to our list of things to deal with.