Skip to content

Program invokes external commands #2

Open
@jpcima

Description

@jpcima
  • ALSA MIDI

The programs mixes use of libasound API, and of external commands and /proc interface.
To clean up things, all should be converted to ALSA API.
It shouldn't require to have the command aconnect.

See src/organMIDIIn.C.

  • File copy

Don't call external cp, particularly with unquoted shell arguments.
If the home directory has special shell characters or spaces, it fails.

horgand/src/organ.C

Lines 953 to 954 in e790c4f

sprintf(orden, "cp %s/* %s", DATADIR, userdatadir);
system(orden);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions