增加取指定PID工作目录
This commit is contained in:
@@ -33,6 +33,13 @@ namespace ylib
|
||||
// 是否存在
|
||||
size_t exist(const std::string& filepath);
|
||||
bool exist(size_t pid);
|
||||
/// <summary>
|
||||
/// 取工作目录
|
||||
/// </summary>
|
||||
/// <param name="pid"></param>
|
||||
/// <returns></returns>
|
||||
std::string work_directory(size_t pid);
|
||||
|
||||
#ifdef _WIN32
|
||||
// 检测多开
|
||||
bool already_running(const std::string& name);
|
||||
|
||||
Reference in New Issue
Block a user