title: IntelliJ Problem with+get current working directory
body: <p>Here is my maven project structure</p>
  
  <pre>
  ProjectParent
   -Class1
   -Class2
   -Module1 (another sub directory)
   --Module1Class1
   --Module1Class2
  </pre>
  
  <p>Now when I run Module1Class1 from IntelliJ my current working directory is where ProjectParent directory, but when I run Module1Class1 from eclipse, my current working directoru is ProjectParent/Module1 directory.</p>
  
  <p>Why this is different in intellij &amp; how can I change this, so my current directory is always from where my class started execution like in this example 'Module1Class1' directory.</p>