File: windows.c

package info (click to toggle)
haskell-wai-handler-launch 3.0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 80 kB
  • sloc: haskell: 204; ansic: 7; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 150 bytes parent folder | download
1
2
3
4
5
6
7
8
#include <windows.h>
#include <shellapi.h>
#include <stdio.h>

void launch(char *s)
{
    ShellExecute(NULL, "open", s, NULL, NULL, SW_SHOWNORMAL);
}