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

parallel: command error: I/O error: No such file or directory (os error 2) #65

@FrancescElies

Description

@FrancescElies

Issue

Using parallel version MIT/Rust Parallel 0.11.3

Steps to Test

  1. Execute script
#!/usr/bin/env bash

parallel echo ::: 1 2 ::: A B

Output:

1 A
1 B
2 A
2 B
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions