mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 10:12:30 +00:00
* Added a default low_diskspace check for 500MB.
* Properly catch the exceptions being thrown by the 'in_*' events. * Expand ~ in ExecFile. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@950 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+7
-2
@@ -43,10 +43,15 @@ namespace rpc {
|
||||
|
||||
class ExecFile {
|
||||
public:
|
||||
|
||||
static const unsigned int max_args = 128;
|
||||
static const unsigned int buffer_size = 4096;
|
||||
|
||||
static const int flag_throw = 0x1;
|
||||
static const int flag_expand_tilde = 0x2;
|
||||
|
||||
int execute(const char* file, char* const* argv);
|
||||
|
||||
torrent::Object execute_object(const torrent::Object& rawArgs);
|
||||
torrent::Object execute_object(const torrent::Object& rawArgs, int flags);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user