Add check_chroot_call to libcalamares Python interface.

This commit is contained in:
Teo Mrnjavac 2014-08-04 16:03:33 +02:00
parent 26e5500e33
commit 45ac91c784
4 changed files with 149 additions and 44 deletions

View file

@ -42,6 +42,16 @@ int chroot_call( const boost::python::list& args,
const std::string& stdin = std::string(),
int timeout = 0 );
int check_chroot_call( const std::string& command,
const std::string& stdin = std::string(),
int timeout = 0 );
int check_chroot_call( const boost::python::list& args,
const std::string& stdin = std::string(),
int timeout = 0 );
inline int _handle_check_chroot_call_error( int ec, const QString& cmd );
void debug( const std::string& s );
class PythonJobInterface