MythTV  master
Macros | Functions
mythsystemlegacy.cpp File Reference
#include "compat.h"
#include "mythsystemlegacy.h"
#include <cerrno>
#include <csignal>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fcntl.h>
#include <unistd.h>
#include <QtGlobal>
#include <QCoreApplication>
#include "referencecounter.h"
#include "mythcorecontext.h"
#include "mythevent.h"
#include "mythlogging.h"
#include "mythsystemunix.h"
Include dependency graph for mythsystemlegacy.cpp:

Go to the source code of this file.

Macros

#define SIGTRAP   -1
 

Functions

uint myth_system (const QString &command, uint flags, std::chrono::seconds timeout)
 
uint myth_system (const QString &Command, const QStringList &Args, uint Flags, std::chrono::seconds Timeout)
 

Macro Definition Documentation

◆ SIGTRAP

#define SIGTRAP   -1

Function Documentation

◆ myth_system() [1/2]

uint myth_system ( const QString &  command,
uint  flags,
std::chrono::seconds  timeout 
)

Definition at line 506 of file mythsystemlegacy.cpp.

Referenced by MythCoreContext::BackendIsRunning(), burnISOImage(), WelcomeDialog::checkAutoStart(), Scheduler::CheckShutdownServer(), LCD::connectToHost(), NativeArchive::copyFile(), createISOImage(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), MythThemedMenu::customEvent(), DBUtil::DoBackup(), BurnMenu::doBurn(), JobQueue::DoFlagCommercialsThread(), ExitPrompter::DoHalt(), JobQueue::DoMetadataLookupThread(), ExitPrompter::DoReboot(), ExitPrompter::DoSuspend(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), MythMediaDevice::eject(), MediaMonitor::ejectOpticalDisc(), exec_program_cb(), exec_program_tv_cb(), MythMediaDevice::findMountPath(), ImportNative::finishedPressed(), getFileDetails(), MainServer::HandleGoToSleep(), Scheduler::HandleRunSchedulerStartup(), IsPulseAudioRunning(), isRunning(), WelcomeDialog::keyPressEvent(), GameHandler::Launchgame(), WelcomeDialog::lockShutdown(), MythWakeup(), MythMediaDevice::performMountCmd(), ping(), VideoPlayMythSystem::Play(), playDisc(), MainServer::ProcessRequestWork(), ExitPrompter::quit(), ScreenSaverX11Private::ResetScreenSaver(), Ripper::Ripper(), ShellThread::run(), SystemEventThread::run(), CDRipperThread::run(), HTTPLiveStreamThread::run(), NetBase::RunCmdWithoutScreensaver(), WelcomeDialog::runMythFillDatabase(), ExportNative::runScript(), MythBurn::runScript(), runTestDVD(), ScreenSaverX11Private::ScreenSaverX11Private(), VideoDialog::ShowHomepage(), WelcomeDialog::ShowMenu(), shutdown(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), BookmarkManager::slotBookmarkClicked(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), MythNews::slotViewArticle(), WelcomeDialog::startFrontend(), LCD::startLCDServer(), StartPrompter::stopBackend(), WelcomeDialog::unlockShutdown(), SourceUtil::UpdateChannelsFromListings(), WelcomeDialog::updateStatusMessage(), Scheduler::WakeUpSlave(), and Ripper::~Ripper().

◆ myth_system() [2/2]

uint myth_system ( const QString &  Command,
const QStringList &  Args,
uint  Flags,
std::chrono::seconds  Timeout 
)

Definition at line 518 of file mythsystemlegacy.cpp.