# Launch() function on win10 + Processing 3

**URL:** <https://discourse.processing.org/t/launch-function-on-win10-processing-3/11273>\
**Category:** Coding Questions\
**Created:** [May 15, 2019, 2:05pm UTC](https://discourse.processing.org/t/launch-function-on-win10-processing-3/11273 "2019-05-15T14:05:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mar/32/3199_2.png) [@mar](https://discourse.processing.org/u/mar)\
**Post date:** [May 15, 2019, 2:05pm UTC](https://discourse.processing.org/t/launch-function-on-win10-processing-3/11273/1 "2019-05-15T14:05:27Z")

</div>

Hello, I’m trying to use the `launch()` function to run an `.exe` developed and exported for win 10 but it do not works. It have worked well on mac.  
Either the `exec()` function do not works on win10.  
I’ve tried more path possibilities (commented in the code), they worked well when I launch the app from terminal but not when I run the sketch ☹  
Nothing happens.

```auto
void setup() {
  size(200, 200);
}

void draw() { 
  // draw() must be present for mousePressed() to work
}

void mousePressed() {

  //C:\Users\bin
  //sketchPath()
  //exec(sketchPath() + "/time_test");
  //exec(sketchPath()+"\\time_test.exe" );
  launch("/Users/bin/Processing/launch_test/time_test");
  println(sketchPath()+"/time_test.exe");

 /* Process p = launch(sketchPath() + "/time_test.exe"); 
  try {
    int result = p.waitFor();
    println("the process returned " + result);
    println(sketchPath());
  } 
  catch (InterruptedException e) {
  }*/

   /*
  Process p = exec("/Users/bin/bin//time_test.exe", "waiting until done");
     try {
     int result = p.waitFor();
     println("the process returned " + result);
     } 
     catch (InterruptedException e) {
     }*/
  }

```

How can I make it work?  
Thanks in advance!  
mariana
