Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Runtime Library: OS Command Wrapping

Classes

ECF: os-command.ecf

Directory source listing

Overview

Aproximately 100 classes for creating cross platform wrappers of OS commands with about 30 "out of the box" commands.

General Features

Information Commands These are "out of the box" command for obtaining system information.

Directory: library/runtime/process/commands

. /audio

. /audio/support

. /file-management

. /internet

. /kernel

. /spec/common/audio

. /spec/common/internet

. /spec/common/system/info

. /spec/unix/kernel

. /spec/unix/system

. /spec/unix/system/file

. /spec/unix/system/file/copy

. /spec/unix/system/file/find

. /spec/unix/system/info

. /spec/windows/kernel

. /spec/windows/system

. /spec/windows/system/file

. /spec/windows/system/file/copy

. /spec/windows/system/file/find

. /spec/windows/system/info

. /system

. /system/file

. /system/file/copy

. /system/file/find

. /system/file/gvfs

. /system/gsetting

. /system/info

. /system/support

audio

EL_AUDIO_COMMAND_FACTORY

Audio command factory

EL_AUDIO_PROPERTIES_COMMAND_I

Audio properties command i

EL_AVCONV_OS_COMMAND_I

Selects between commands avconv and ffmpeg depending on what's installed

EL_EXTRACT_MP3_INFO_COMMAND_I

Extract mp3 info command i

EL_MODULE_AUDIO_COMMAND

Module audio command

Further Information

Click on class link to see client examples.

EL_MP3_TO_WAV_CLIP_SAVER_COMMAND_I

Mp3 to wav clip saver command i

EL_VIDEO_TO_MP3_COMMAND_I

Video to mp3 command i

EL_WAV_FADER_I

Wav fader i

EL_WAV_GENERATION_COMMAND_I

Wrapper for swgen test signal generation command It generates 1 second of audio signal sweeping from frequency_lower to frequency_lower at cycles_per_sec times per second

See: swgen maunal

Further Information

Click on class link to see client examples.

EL_WAV_TO_MP3_COMMAND_I

Wav to mp3 command i

audio/support

EL_MULTIMEDIA_CONSTANTS

Multimedia constants

file-management

EL_COMMAND_FACTORY

Command factory

EL_DIRECTORY_CONTENT_PROCESSOR

Directory content processor

Further Information

Click on class link to see client examples.

EL_DIRECTORY_PATH_LIST

Directory path list

Further Information

Click on class link to see client examples.

EL_DIRECTORY_TREE_FILE_PROCESSOR

Directory tree file processor

Further Information

Click on class link to see client examples.

EL_FILE_CONVERSION_COMMAND_I

Command that converts files from one type to anothers

EL_FILE_PATH_LIST

File path list from OS command

Further Information

Click on class link to see client examples.

EL_GVFS_VOLUME

Gnome Virtual Filesystem volume

Further Information

Click on class link to see client examples.

EL_MODULE_COMMAND

Module command

Further Information

Click on class link to see client examples.

internet

EL_EMAIL

Email

EL_SEND_MAIL_COMMAND_I

Send mail command i

kernel

EL_CAPTURED_OS_COMMAND

General purpose OS command that captures output lines of substituted command template

Further Information

Click on class link to see client examples.

EL_CAPTURED_OS_COMMAND_I

OS command with captured output

EL_DIR_PATH_OPERAND_COMMAND_I

Dir path operand command i

EL_DOUBLE_PATH_OPERAND_COMMAND_I

Double path operand command i

EL_FILE_PATH_OPERAND_COMMAND_I

File path operand command i

EL_OS_COMMAND

General purpose OS command using an externally supplied template

Further Information

Click on class link to see client examples.

EL_OS_COMMAND_I

Os command i

EL_SINGLE_PATH_OPERAND_COMMAND_I

Single path operand command i

spec/common/audio

EL_AUDIO_PROPERTIES_COMMAND_IMP

Implementation of EL_AUDIO_PROPERTIES_COMMAND_I interface

EL_EXTRACT_MP3_INFO_COMMAND_IMP

Implementation of EL_EXTRACT_MP3_INFO_COMMAND_I interface

EL_MP3_TO_WAV_CLIP_SAVER_COMMAND_IMP

Implementation of EL_MP3_TO_WAV_CLIP_SAVER_COMMAND_I interface

EL_VIDEO_TO_MP3_COMMAND_IMP

Implementation of EL_VIDEO_TO_MP3_COMMAND_I interface Does AAC -> MP3 audio conversion

Further Information

Click on class link to see notes and client examples.

EL_WAV_FADER_IMP

Implementation of EL_WAV_FADER_I interface

Further Information

Click on class link to see client examples.

EL_WAV_GENERATION_COMMAND_IMP

Implementation of EL_WAV_GENERATION_COMMAND_I interface

Further Information

Click on class link to see client examples.

EL_WAV_TO_MP3_COMMAND_IMP

Implementation of EL_WAV_TO_MP3_COMMAND_I interface

Further Information

Click on class link to see client examples.

spec/common/internet

EL_SEND_MAIL_COMMAND_IMP

Send mail command imp

spec/common/system/info

EL_CPU_INFO_COMMAND_IMP

Implementation of EL_CPU_INFO_COMMAND_I interface

EL_IP_ADAPTER_INFO_COMMAND_IMP

Implementation of EL_IP_ADAPTER_INFO_COMMAND_I interface

spec/unix/kernel

EL_OS_COMMAND_IMP

Unix implementation of EL_OS_COMMAND_I interface

spec/unix/system

EL_OS_ROUTINES_IMP

Unix implementation of EL_OS_ROUTINES_I interface

spec/unix/system/file

EL_DELETE_FILE_COMMAND_IMP

Unix implementation of EL_DELETE_FILE_COMMAND_I interface

EL_DELETE_TREE_COMMAND_IMP

Unix implementation of EL_DELETE_TREE_COMMAND_I interface

EL_DIRECTORY_INFO_COMMAND_IMP

Unix implementation of EL_DIRECTORY_INFO_COMMAND_I interface

EL_JPEG_FILE_INFO_COMMAND_IMP

Unix implementation of EL_JPEG_FILE_INFO_COMMAND_I

Further Information

Click on class link to see client examples.

EL_MAKE_DIRECTORY_COMMAND_IMP

Unix implementation of EL_MAKE_DIRECTORY_COMMAND_I interface

EL_MOVE_FILE_COMMAND_IMP

Unix implementation of EL_MOVE_FILE_COMMAND_I interface

spec/unix/system/file/copy

EL_COPY_FILE_COMMAND_IMP

Unix implementation of EL_COPY_FILE_COMMAND_I interface

EL_COPY_TREE_COMMAND_IMP

Unix implementation of EL_COPY_TREE_COMMAND_I interface

EL_UNIX_CP_TEMPLATE

Unix copy command template

spec/unix/system/file/find

EL_FIND_DIRECTORIES_COMMAND_IMP

Unix implementation of EL_FIND_DIRECTORIES_COMMAND_I interface

EL_FIND_FILES_COMMAND_IMP

Unix implementation of EL_FIND_FILES_COMMAND_I interface

EL_UNIX_FIND_TEMPLATE

Unix find template

spec/unix/system/info

EL_USERS_INFO_COMMAND_IMP

Unix implementation of EL_USERS_INFO_COMMAND_I interface

spec/windows/kernel

EL_OS_COMMAND_IMP

Windows implementation of EL_OS_COMMAND_I interface

spec/windows/system

EL_OS_ROUTINES_IMP

Windows implementation of EL_OS_ROUTINES_I interface

spec/windows/system/file

EL_DELETE_FILE_COMMAND_IMP

Windows implementation of EL_DELETE_FILE_COMMAND_I interface

EL_DELETE_TREE_COMMAND_IMP

Windows implementation of EL_DELETE_TREE_COMMAND_I interface

EL_DIRECTORY_INFO_COMMAND_IMP

Windows implementation of EL_DIRECTORY_INFO_COMMAND_I interface

EL_JPEG_FILE_INFO_COMMAND_IMP

Windows implementation of EL_JPEG_FILE_INFO_COMMAND_I

Further Information

Click on class link to see client examples.

EL_MAKE_DIRECTORY_COMMAND_IMP

Windows implementation of EL_MAKE_DIRECTORY_COMMAND_I interface

EL_MOVE_FILE_COMMAND_IMP

Windows implementation of EL_MOVE_FILE_COMMAND_I interface

spec/windows/system/file/copy

EL_COPY_FILE_COMMAND_IMP

Windows implementation of EL_COPY_FILE_COMMAND_I interface

EL_COPY_TREE_COMMAND_IMP

Windows implementation of EL_COPY_TREE_COMMAND_I interface

spec/windows/system/file/find

EL_FIND_COMMAND_IMP

Find command imp

EL_FIND_DIRECTORIES_COMMAND_IMP

Windows implementation of EL_FIND_DIRECTORIES_COMMAND_I interface

EL_FIND_FILES_COMMAND_IMP

Windows implementation of EL_FIND_FILES_COMMAND_I interface

spec/windows/system/info

EL_USERS_INFO_COMMAND_IMP

Windows implementation of EL_USERS_INFO_COMMAND_I interface

system

EL_MODULE_OS

Access to class EL_OS_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_OS_ROUTINES_I

OS operations based on command line utilities

system/file

EL_DELETE_FILE_COMMAND_I

Delete file command i

EL_DELETE_TREE_COMMAND_I

Delete tree command i

EL_DELETION_COMMAND

Deletion command

EL_DIRECTORY_INFO_COMMAND_I

Command to find file count and directory file content size

EL_FILE_RELOCATION_COMMAND_I

File relocation command i

EL_JPEG_FILE_INFO_COMMAND_I

Jpeg file info command i

Further Information

Click on class link to see client examples.

EL_MAKE_DIRECTORY_COMMAND_I

Make directory command i

EL_MOVE_FILE_COMMAND_I

Move file command i

system/file/copy

EL_COPY_FILE_COMMAND_I

Copy file command i

EL_COPY_TREE_COMMAND_I

Copy tree command i

system/file/find

EL_FIND_COMMAND_I

Find command i

Further Information

Click on class link to see client examples.

EL_FIND_DIRECTORIES_COMMAND_I

Find directories command i

EL_FIND_FILES_COMMAND_I

Cross platform interface to EL_FIND_FILES_COMMAND_IMP

Further Information

Click on class link to see client examples.

system/file/gvfs

EL_GVFS_FILE_COUNT_COMMAND

Parses output of command

gvfs-ls "$uri" | grep -c "^.*$"

EL_GVFS_FILE_EXISTS_COMMAND

Gvfs file exists command

EL_GVFS_FILE_LIST_COMMAND

Gvfs file list command

EL_GVFS_MOUNT_LIST_COMMAND

Gvfs mount list command

Further Information

Click on class link to see client examples.

EL_GVFS_OS_COMMAND

Gvfs os command

EL_GVFS_REMOVE_FILE_COMMAND

Gvfs remove file command

system/gsetting

EL_GET_GNOME_SETTING_COMMAND

Get gnome setting command

EL_GNOME_SETTING_COMMAND_CONSTANTS

Gnome setting command constants

EL_SET_GNOME_SETTING_COMMAND

Set gnome setting command

system/info

EL_CPU_INFO_COMMAND_I

Unix only command to obtain CPU model name

EL_IP_ADAPTER_INFO_COMMAND_I

Parses output of nm-tool to get MAC address of ethernet devices

NetworkManager Tool Output

State: connected (global)

Device: wlan0  [Auto Rafael] -------------------------------------------------
Type:              802.11 WiFi
Driver:            b43
State:             connected
Default:           yes
HW Address:        88:53:95:2E:74:99

Capabilities:
   Speed:           24 Mb/s

Wireless Properties
   WEP Encryption:  yes
   WPA Encryption:  yes
   WPA2 Encryption: yes

Wireless Access Points (* = current AP)
   eircom33071194:  Infra, EC:43:F6:C3:1B:D8, Freq 2412 MHz, Rate 54 Mb/s,
                                                               Strength 50 WPA WPA2
   *Rafael:         Infra, EC:43:F6:C5:EE:30, Freq 2462 MHz, Rate 54 Mb/s,
                                                               Strength 53 WPA WPA2
   Vodafone_32FE:   Infra, 00:25:68:CD:8E:5E, Freq 2437 MHz, Rate 54 Mb/s,
                                                                    Strength 24 WEP
   eircom07150498:  Infra, 5C:F4:AB:5A:F5:54, Freq 2457 MHz, Rate 54 Mb/s,
                                                               Strength 22 WPA WPA2

IPv4 Settings:
   Address:         192.168.1.4
   Prefix:          24 (255.255.255.0)
   Gateway:         192.168.1.254

   DNS:             192.168.1.254

Device: eth0 -----------------------------------------------------------------
Type:              Wired
Driver:            tg3
State:             unavailable
Default:           no
HW Address:        A8:20:66:50:C4:36

Capabilities:
   Carrier Detect:  yes

Wired Properties
   Carrier:         off

EL_USERS_INFO_COMMAND_I

Gathers info on all system users determined by listing directories in C:\Users (Windows) or /home (Linux) For Windows, hidden or system directories are ignored, also the Public folder

system/support

EL_ADAPTER_DEVICE

Adapter device

Further Information

Click on class link to see client examples.