-
Notifications
You must be signed in to change notification settings - Fork 4
Description
When the ScheduleEntry.set_executable method is called it requires that the input arguments be a list or a string. This means that it doesn't accept arguments that might be expected to be acceptable—tuples, sequences, generators, etc. Same goes for methods that rely on this one, such as VMEndpoint.run_executable in the base MC repo.
The docs indicate these type requirements, so this is a feature request not a bug. However, without consulting the docs first, the behavior seems similar to the subprocess.run/subprocess.Popen interface which does allow generic sequences.
Since the arguments are just converted to a string, it seems like it would have relatively few (if any) impacts outside that method, and it seems like it would make the interface friendlier in a Pythonic kind of way.