mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00

[!] bug fixed: issue #7718 ( sys.argv[0] does not contain script name ) git-svn-id: https://pykd.svn.codeplex.com/svn@57921 9b283d60-5439-405e-af05-b73fd8c4d996
33 lines
596 B
C++
33 lines
596 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DbgPythonPath
|
|
{
|
|
public:
|
|
|
|
DbgPythonPath();
|
|
|
|
std::string
|
|
getStr() const;
|
|
|
|
bool
|
|
findPath(
|
|
const std::string &fileName,
|
|
std::string &fullFileName,
|
|
std::string &filePath ) const;
|
|
|
|
|
|
private:
|
|
|
|
std::vector< std::string > m_pathList;
|
|
|
|
};
|
|
|
|
//extern DbgPythonPath& dbgPythonPath;
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|