summaryrefslogtreecommitdiff
path: root/os-win.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-06 14:07:53 -0400
committerpommicket <pommicket@gmail.com>2023-08-06 14:07:53 -0400
commit52da64686fb506372fa09ab562915f895cd88cb9 (patch)
tree24c2ca40227ddc0ad92adced2432930d4beed729 /os-win.c
parentb4e2b3d2407cbad54169da707f72595246e4794a (diff)
util cleanup
Diffstat (limited to 'os-win.c')
-rw-r--r--os-win.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/os-win.c b/os-win.c
index 7d335c7..8d751ff 100644
--- a/os-win.c
+++ b/os-win.c
@@ -414,5 +414,10 @@ int process_check_status(Process **pprocess, ProcessExitInfo *info) {
bool open_with_default_application(const char *path) {
- todo
+ todo ShellExecuteW?
+}
+
+
+bool change_directory(const char *path) {
+ return _chdir(path) == 0;
}