labstreaminglayer / App-LabRecorder

An application for streaming one or more LSL streams to disk in XDF file format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LabRecorderCLI help example would fail on Win10

agricolab opened this issue · comments

The help for LabRecorderCLI suggests the following example:
./LabRecorderCLI foo.xdf 'type="EEG"' 'host="LabPC1" or host="LabPC2"'

The way the " and ' are used would work fine on my bash shell on linux and git bash on Win10, but treated differently by Win10 cmd shell. We noticed that in this case, any stream-selection-argument would recognize all streams available. If multiple stream-selection-argument were given, all streams would be recorded multiple times.

Switching " and ' around, i.e. sth like LabRecorderCLI foo.xdf "type='EEG'" "type='Marker'" would work fine, at least when tested with git bash and cmd on Win10.