aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/os.erl
AgeCommit message (Collapse)Author
2013-11-09Add os:unsetenv/1Martin Hässler
New BIF os:unsetenv/1 which deletes an environment variable and returns 'true'. Does not change any old functionality. Calls the libc function unsetenv(3) on UNIX and SetEnvironmentVariableW(key, NULL) on Windows. The unicode support is the same as for os:getenv and os:putenv.
2013-04-30Remove unnecessary whitespaces in os.erl and os_SUITE.erlAleksandr Vinokurov
Conflicts: lib/kernel/test/os_SUITE.erl
2013-04-30Fix deep list argument error under Windows in os:cmd/1Aleksandr Vinokurov
Because of leeway in implementing os:cmd/1 under different OS there is a difference in results when calling it with deep list argument. os:cmd/1 specifies io_lib:chars() type for its argument and io_lib functions can produce deep lists inspite of io_lib:chars() result type specification. This commit flattens the argument for erlang:open_port/2 (which is used under Windows) and expands the os_SUITE to regress the bug.
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-25Make adjustments for UnicodeHans Bolinder
2012-07-19kernel: Remove VxWorksBjörn-Egil Dahlberg
2012-01-27Move types and specs from erl_bif_types.erl to modulesHans Bolinder
2011-05-09Types and specifications have been modified and addedHans Bolinder
2011-03-11Strenghen specKostis Sagonas
2011-03-02Fix dialyzer warning in os:start_port_srv_loopSverker Eriksson
Rewrote the code a bit to silence dialyzer. Seems dialyzer can't handle a function that either returns or loops forever depending on function argument.
2011-02-14Never allow os:find_executable/1 to return the path of directoriesBjörn Gustavsson
2010-06-02Teach os.erl to find executable names with extension (i.e. .exe) on windowsPatrik Nyblom
2010-03-10OTP-8502 os:cmd hangRickard Green
A race condition in os:cmd/1 could cause the caller to get stuck in os:cmd/1 forever.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP