Skip to content

Commit

Permalink
Call uv_setup_args at startup, fixes #9957
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnorton committed Feb 22, 2015
1 parent 3804e21 commit 03acaa0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/misc.jl
Expand Up @@ -105,3 +105,11 @@ let deepthought(x, y) = 42
@test ex.msg == "the answer to the ultimate question: 42"
end
end

let # test the process title functions, issue #9957
oldtitle = Base.get_process_title()
Base.set_process_title("julia0x1")
@test Base.get_process_title() == "julia0x1"
Base.set_process_title(oldtitle)
@test Base.get_process_title() == oldtitle
end
1 change: 1 addition & 0 deletions ui/repl.c
Expand Up @@ -472,6 +472,7 @@ DLLEXPORT extern void julia_save();
#ifndef _OS_WINDOWS_
int main(int argc, char *argv[])
{
uv_setup_args(argc, argv); // no-op on Windows
#else
int wmain(int argc, wchar_t *argv[], wchar_t *envp[])
{
Expand Down

0 comments on commit 03acaa0

Please sign in to comment.