#!/usr/bin/env python3
import sys,os
from abstract_ide.consoles.finderTab import startFinderConsole


if __name__ == "__main__":
    target_dir = sys.argv[1] if len(sys.argv) > 1 else os.getcwd()
    if not os.path.isdir(target_dir):
        target_dir = os.path.dirname(target_dir)
    os.chdir(target_dir)  # real working directory for the console
    startFinderConsole()

