This repository was archived by the owner on Jul 11, 2019. It is now read-only.

Description
Issue
Using parallel version MIT/Rust Parallel 0.11.3
Steps to Test
- Execute script
#!/usr/bin/env bash
parallel echo ::: 1 2 ::: A B
Output:
- Execute script
#!/usr/bin/env bash
my_function() {
echo $1 $2
echo "more things"
}
export -f my_function
parallel my_function ::: 1 2 ::: A B
Output:
parallel: command error: I/O error: No such file or directory (os error 2)
parallel: command error: I/O error: No such file or directory (os error 2)
parallel: command error: I/O error: No such file or directory (os error 2)
parallel: command error: I/O error: No such file or directory (os error 2)
parallel: encountered errors during processing:
1: 1 A: I/O error: No such file or directory (os error 2)
2: 1 B: I/O error: No such file or directory (os error 2)
3: 2 A: I/O error: No such file or directory (os error 2)
4: 2 B: I/O error: No such file or directory (os error 2)
Am I doing something wrong in the second example?
I am on Mac OS
Thanks for your support