-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Because of the way the command is generated and called, the web interface fails when there's whitespace. Currently code does something like:
my $command = "python script.py -in $filename"
my $output = `$command`
The easiest way out is to simply quote $filename but that will cause problems if the filename has quotes. A good way out is to use system()
but then it doesn't capture stdout. A better way out would be to use IPC::Open2
but that complicates things. An easier way out would be too use a hardcoded filename when uploading the filename but then the output will make less sense to the user.
Metadata
Metadata
Assignees
Labels
No labels